summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/super.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2017-11-23 20:34:40 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-12-10 12:58:18 -0800
commit98087c05b9fc4ff8935bfc8f4b71afb4251c8867 (patch)
tree98f60222cbd242a432f92a5408899fd7577cd17e /fs/hpfs/super.c
parentd70ef22892ed6c066e51e118b225923c9b74af34 (diff)
downloadlinux-stable-98087c05b9fc4ff8935bfc8f4b71afb4251c8867.tar.gz
linux-stable-98087c05b9fc4ff8935bfc8f4b71afb4251c8867.tar.bz2
linux-stable-98087c05b9fc4ff8935bfc8f4b71afb4251c8867.zip
hpfs: don't bother with the i_version counter or f_version
HPFS does not set SB_I_VERSION and does not use the i_version counter internally. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Mikulas Patocka <mikulas@twibright.com> Reviewed-by: Mikulas Patocka <mikulas@twibright.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs/super.c')
-rw-r--r--fs/hpfs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index c45a3b9b9ac7..f2c3ebcd309c 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -235,7 +235,6 @@ static struct inode *hpfs_alloc_inode(struct super_block *sb)
ei = kmem_cache_alloc(hpfs_inode_cachep, GFP_NOFS);
if (!ei)
return NULL;
- ei->vfs_inode.i_version = 1;
return &ei->vfs_inode;
}