projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0270ac
)
btrfs: reserve no transaction units in btrfs_ioctl_set_features
author
David Sterba
<
[email protected]
>
Fri, 7 Feb 2014 13:34:04 +0000
(14:34 +0100)
committer
Chris Mason
<
[email protected]
>
Sun, 9 Feb 2014 01:57:15 +0000
(17:57 -0800)
Added in patch "btrfs: add ioctls to query/change feature bits online"
modifications to superblock don't need to reserve metadata blocks when
starting a transaction.
Signed-off-by: David Sterba <
[email protected]
>
Signed-off-by: Chris Mason <
[email protected]
>
fs/btrfs/ioctl.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/ioctl.c
b/fs/btrfs/ioctl.c
index 5bbf6b7216c3909b57458113e9c5a0d2db749b69..ebdd866d4cfd0de8b67c426d9b2b6d0c79745778 100644
(file)
--- a/
fs/btrfs/ioctl.c
+++ b/
fs/btrfs/ioctl.c
@@
-4690,7
+4690,7
@@
static int btrfs_ioctl_set_features(struct file *file, void __user *arg)
if (ret)
return ret;
- trans = btrfs_start_transaction(root,
1
);
+ trans = btrfs_start_transaction(root,
0
);
if (IS_ERR(trans))
return PTR_ERR(trans);