Skip to contentSkip to conversation

lustre-dont-set-f_version-in-ll_readdir.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 2, 2018

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: lustre: don't set f_version in ll_readdir
has been removed from the -mm tree. Its filename was
lustre-dont-set-f_version-in-ll_readdir.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jeff Layton <[email protected]>
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.

Cc Al Viro <[email protected]>
Cc Anton Altaparmakov <[email protected]>
Cc James Simmons <[email protected]>
Cc Mikulas Patocka <[email protected]>
Cc Oleg Drokin <[email protected]>

---

 drivers/staging/lustre/lustre/llite/dir.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/staging/lustre/lustre/llite/dir.c renamed from drivers/staging/lustre/lustre/llite/dir.c~lustre-dont-set-f_version-in-ll_readdir +0 -1
diff -puN drivers/staging/lustre/lustre/llite/dir.c~lustre-dont-set-f_version-in-ll_readdir 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;