diff options
author | Jeff Mahoney <jeffm@suse.com> | 2014-02-07 14:33:57 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-02-09 02:57:15 +0100 |
commit | d0270aca88966641eb15306e9bd0c7ad15321440 (patch) | |
tree | 807ba712623cff5b6f90f294e6671ca2520901ad /ipc | |
parent | Btrfs: fix assert screwup for the pending move stuff (diff) | |
download | linux-d0270aca88966641eb15306e9bd0c7ad15321440.tar.xz linux-d0270aca88966641eb15306e9bd0c7ad15321440.zip |
btrfs: commit transaction after setting label and features
The set_fslabel ioctl uses btrfs_end_transaction, which means it's
possible that the change will be lost if the system crashes, same for
the newly set features. Let's use btrfs_commit_transaction instead.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions