mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
btrfs: remove junk sb_dirt change
BTRFS does not define a '->write_super()' method, so it should not mark its superblock as dirty. This looks like some left-over. Signed-off-by: Artem Bityutskiy <[email protected]> Acked-by: Chris Mason <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
4e29d50a28
commit
696ac96c27
1 changed files with 0 additions and 1 deletions
|
|
@ -2938,7 +2938,6 @@ int btrfs_unlink_subvol(struct btrfs_trans_handle *trans,
|
|||
dir->i_mtime = dir->i_ctime = CURRENT_TIME;
|
||||
ret = btrfs_update_inode(trans, root, dir);
|
||||
BUG_ON(ret);
|
||||
dir->i_sb->s_dirt = 1;
|
||||
|
||||
btrfs_free_path(path);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue