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>
This commit is contained in:

committed by
Linus Torvalds

parent
d70ef22892
commit
98087c05b9
@@ -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, dnode_secno dno, struct hpfs_dirent *de,
|
||||
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);
|
||||
|
Reference in New Issue
Block a user