Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jeff Layton and committed by
Linus Torvalds
98087c05 d70ef228

-4
-1
fs/hpfs/dir.c
··· 150 150 if (unlikely(ret < 0)) 151 151 goto out; 152 152 ctx->pos = ((loff_t) hpfs_de_as_down_as_possible(inode->i_sb, hpfs_inode->i_dno) << 4) + 1; 153 - file->f_version = inode->i_version; 154 153 } 155 154 next_pos = ctx->pos; 156 155 if (!(de = map_pos_dirent(inode, &next_pos, &qbh))) {
-2
fs/hpfs/dnode.c
··· 419 419 c = 1; 420 420 goto ret; 421 421 } 422 - i->i_version++; 423 422 c = hpfs_add_to_dnode(i, dno, name, namelen, new_de, 0); 424 423 ret: 425 424 return c; ··· 725 726 return 2; 726 727 } 727 728 } 728 - i->i_version++; 729 729 for_all_poss(i, hpfs_pos_del, (t = get_pos(dnode, de)) + 1, 1); 730 730 hpfs_delete_de(i->i_sb, dnode, de); 731 731 hpfs_mark_4buffers_dirty(qbh);
-1
fs/hpfs/super.c
··· 235 235 ei = kmem_cache_alloc(hpfs_inode_cachep, GFP_NOFS); 236 236 if (!ei) 237 237 return NULL; 238 - ei->vfs_inode.i_version = 1; 239 238 return &ei->vfs_inode; 240 239 } 241 240