Prev: [PATCHv4 06/17] EXT2: do not manipulate s_dirt directly
Next: [PATCHv4 12/17] reiserfs: do not manipulate s_dirt directly
From: Artem Bityutskiy on 25 May 2010 10:00 From: Artem Bityutskiy <Artem.Bityutskiy(a)nokia.com> .... use new VFS helpers instead. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy(a)nokia.com> Cc: Chris Mason <chris.mason(a)oracle.com> --- fs/btrfs/inode.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index d601629..bb76735 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2577,7 +2577,7 @@ 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; + mark_sb_dirty(dir->i_sb); btrfs_free_path(path); return 0; -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |