[merged] hpfs-dont-bother-with-the-i_version-counter-or-f_version.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: hpfs: don't bother with the i_version counter or f_version
has been removed from the -mm tree.  Its filename was
     hpfs-dont-bother-with-the-i_version-counter-or-f_version.patch

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

------------------------------------------------------
From: Jeff Layton <jlayton@xxxxxxxxxx>
Subject: 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.

Link: http://lkml.kernel.org/r/20171207113206.31544-4-jlayton@xxxxxxxxxx
Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
Cc: Anton Altaparmakov <anton@xxxxxxxxxx>
Cc: Andreas Dilger <andreas.dilger@xxxxxxxxx>
Cc: Oleg Drokin <oleg.drokin@xxxxxxxxx>
Cc: James Simmons <jsimmons@xxxxxxxxxxxxx>
Cc: Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/hpfs/dir.c   |    1 -
 fs/hpfs/dnode.c |    2 --
 fs/hpfs/super.c |    1 -
 3 files changed, 4 deletions(-)

diff -puN fs/hpfs/dir.c~hpfs-dont-bother-with-the-i_version-counter-or-f_version fs/hpfs/dir.c
--- a/fs/hpfs/dir.c~hpfs-dont-bother-with-the-i_version-counter-or-f_version
+++ a/fs/hpfs/dir.c
@@ -150,7 +150,6 @@ static int hpfs_readdir(struct file *fil
 			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))) {
diff -puN fs/hpfs/dnode.c~hpfs-dont-bother-with-the-i_version-counter-or-f_version fs/hpfs/dnode.c
--- a/fs/hpfs/dnode.c~hpfs-dont-bother-with-the-i_version-counter-or-f_version
+++ a/fs/hpfs/dnode.c
@@ -419,7 +419,6 @@ int hpfs_add_dirent(struct inode *i,
 		c = 1;
 		goto ret;
 	}	
-	i->i_version++;
 	c = hpfs_add_to_dnode(i, dno, name, namelen, new_de, 0);
 	ret:
 	return c;
@@ -726,7 +725,6 @@ int hpfs_remove_dirent(struct inode *i,
 			return 2;
 		}
 	}
-	i->i_version++;
 	for_all_poss(i, hpfs_pos_del, (t = get_pos(dnode, de)) + 1, 1);
 	hpfs_delete_de(i->i_sb, dnode, de);
 	hpfs_mark_4buffers_dirty(qbh);
diff -puN fs/hpfs/super.c~hpfs-dont-bother-with-the-i_version-counter-or-f_version fs/hpfs/super.c
--- a/fs/hpfs/super.c~hpfs-dont-bother-with-the-i_version-counter-or-f_version
+++ a/fs/hpfs/super.c
@@ -235,7 +235,6 @@ static struct inode *hpfs_alloc_inode(st
 	ei = kmem_cache_alloc(hpfs_inode_cachep, GFP_NOFS);
 	if (!ei)
 		return NULL;
-	ei->vfs_inode.i_version = 1;
 	return &ei->vfs_inode;
 }
 
_

Patches currently in -mm which might be from jlayton@xxxxxxxxxx are

ntfs-remove-i_version-handling.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



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux