summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorTheodore Ts'o2012-03-02 18:23:11 +0100
committerTheodore Ts'o2012-03-02 18:23:11 +0100
commitc64db50e76c4bf68c0a84379d7bd70daada531b4 (patch)
treeeaf00466a48e2ce16d087f4ccb5d5545adfcf613 /fs/ext4/inode.c
parentext4: remove Opt_ignore (diff)
downloadkernel-qcow2-linux-c64db50e76c4bf68c0a84379d7bd70daada531b4.tar.gz
kernel-qcow2-linux-c64db50e76c4bf68c0a84379d7bd70daada531b4.tar.xz
kernel-qcow2-linux-c64db50e76c4bf68c0a84379d7bd70daada531b4.zip
ext4: remove the I_VERSION mount flag and use the super_block flag instead
There's no point to have two bits that are set in parallel; so use the MS_I_VERSION flag that is needed by the VFS anyway, and that way we free up a bit in sbi->s_mount_opts. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index aafc626d64ac..38dc5f3e9dd3 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -4322,7 +4322,7 @@ int ext4_mark_iloc_dirty(handle_t *handle,
{
int err = 0;
- if (test_opt(inode->i_sb, I_VERSION))
+ if (IS_I_VERSION(inode))
inode_inc_iversion(inode);
/* the do_update_inode consumes one bh->b_count */