The patch titled Subject: lustre: don't set f_version in ll_readdir has been added to the -mm tree. Its filename is lustre-dont-set-f_version-in-ll_readdir.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lustre-dont-set-f_version-in-ll_readdir.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lustre-dont-set-f_version-in-ll_readdir.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jeff Layton <jlayton@xxxxxxxxxx> Subject: lustre: don't set f_version in ll_readdir f_version is only ever used by filesystem-specific code. Generic VFS code never uses it. Nothing in lustre ever looks at it, so just remove this. Link: http://lkml.kernel.org/r/20171207113206.31544-2-jlayton@xxxxxxxxxx Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> Reviewed-by: Andreas Dilger <andreas.dilger@xxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Anton Altaparmakov <anton@xxxxxxxxxx> Cc: James Simmons <jsimmons@xxxxxxxxxxxxx> Cc: Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx> Cc: Oleg Drokin <oleg.drokin@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/staging/lustre/lustre/llite/dir.c | 3 --- 1 file changed, 3 deletions(-) diff -puN drivers/staging/lustre/lustre/llite/dir.c~lustre-dont-set-f_version-in-ll_readdir drivers/staging/lustre/lustre/llite/dir.c --- a/drivers/staging/lustre/lustre/llite/dir.c~lustre-dont-set-f_version-in-ll_readdir +++ a/drivers/staging/lustre/lustre/llite/dir.c @@ -369,8 +369,6 @@ static int ll_readdir(struct file *filp, } ctx->pos = pos; ll_finish_md_op_data(op_data); - filp->f_version = inode->i_version; - out: if (!rc) ll_stats_ops_tally(sbi, LPROC_LL_READDIR, 1); @@ -1678,7 +1676,6 @@ static loff_t ll_dir_seek(struct file *f else fd->lfd_pos = offset; file->f_pos = offset; - file->f_version = 0; } ret = offset; } _ Patches currently in -mm which might be from jlayton@xxxxxxxxxx are ntfs-remove-i_version-handling.patch hpfs-dont-bother-with-the-i_version-counter-or-f_version.patch lustre-dont-set-f_version-in-ll_readdir.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html