reiserfs: remove unneeded i_version bump
The i_version field in reiserfs is not initialized and is only ever updated here. Nothing ever views it, so just remove it. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
4fbd8d194f
commit
9f97df50c5
|
@ -2591,7 +2591,6 @@ out:
|
||||||
return err;
|
return err;
|
||||||
if (inode->i_size < off + len - towrite)
|
if (inode->i_size < off + len - towrite)
|
||||||
i_size_write(inode, off + len - towrite);
|
i_size_write(inode, off + len - towrite);
|
||||||
inode->i_version++;
|
|
||||||
inode->i_mtime = inode->i_ctime = current_time(inode);
|
inode->i_mtime = inode->i_ctime = current_time(inode);
|
||||||
mark_inode_dirty(inode);
|
mark_inode_dirty(inode);
|
||||||
return len - towrite;
|
return len - towrite;
|
||||||
|
|
Loading…
Reference in New Issue