ntfs: remove i_version handling
NTFS keeps track of the i_version counter here, seemingly for no reason. It does not set the SB_I_VERSION flag so it'll never be incremented on write, and it doesn't increment it internally for metadata operations. Signed-off-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
@@ -2641,12 +2641,6 @@ mft_rec_already_initialized:
|
||||
goto undo_mftbmp_alloc;
|
||||
}
|
||||
vi->i_ino = bit;
|
||||
/*
|
||||
* This is for checking whether an inode has changed w.r.t. a
|
||||
* file so that the file can be updated if necessary (compare
|
||||
* with f_version).
|
||||
*/
|
||||
vi->i_version = 1;
|
||||
|
||||
/* The owner and group come from the ntfs volume. */
|
||||
vi->i_uid = vol->uid;
|
||||
|
Reference in New Issue
Block a user