projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: add a new "type" field into the block reservation structure
[linux-2.6-block.git]
/
fs
/
btrfs
/
file.c
diff --git
a/fs/btrfs/file.c
b/fs/btrfs/file.c
index a50e98733e28571f1fb03fff2775ca947695999c..a9d7815cf58e5d4d1a23beeb158b88a42e4a9dc2 100644
(file)
--- a/
fs/btrfs/file.c
+++ b/
fs/btrfs/file.c
@@
-1874,7
+1874,7
@@
static int btrfs_punch_hole(struct inode *inode, loff_t offset, loff_t len)
goto out;
}
- rsv = btrfs_alloc_block_rsv(root);
+ rsv = btrfs_alloc_block_rsv(root
, BTRFS_BLOCK_RSV_TEMP
);
if (!rsv) {
ret = -ENOMEM;
goto out_free;