summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/dir.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 21:58:18 +0100
commit98087c05b9fc4ff8935bfc8f4b71afb4251c8867 (patch)
tree98f60222cbd242a432f92a5408899fd7577cd17e /fs/hpfs/dir.c
parentfutex: futex_wake_op, fix sign_extend32 sign bits (diff)
downloadlinux-98087c05b9fc4ff8935bfc8f4b71afb4251c8867.tar.xz
linux-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/dir.c')
-rw-r--r--fs/hpfs/dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c
index 8d6b7e35faf9..c83ece7facc5 100644
--- a/fs/hpfs/dir.c
+++ b/fs/hpfs/dir.c
@@ -150,7 +150,6 @@ static int hpfs_readdir(struct file *file, struct dir_context *ctx)
if (unlikely(ret < 0))
goto out;
ctx->pos = ((loff_t) hpfs_de_as_down_as_possible(inode->i_sb, hpfs_inode->i_dno) << 4) + 1;
- file->f_version = inode->i_version;
}
next_pos = ctx->pos;
if (!(de = map_pos_dirent(inode, &next_pos, &qbh))) {