Skip to content
Commit c9e561c4 authored by Jeff Layton's avatar Jeff Layton Committed by David Sterba
Browse files

btrfs: update i_version in update_dev_time



When updating the ctime, we also want to update i_version.

This is just something I noticed by inspection. There is probably no way
to test this today unless you can somehow get to this inode via nfsd.
Still, I think it's the right thing to do for consistency's sake.

David Sterba's comment: I don't see anything wrong with setting the
iversion bit, however I also don't see where this would be useful.
Agreed with the consistency, otherwise the time is updated when device
super block is wiped or a device initialized, both are big events so
missing that due to lack of iversion update seems unlikely. I'll add it
to the queue, thanks.

Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
[ add comments ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent e794203e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment