ecryptfs: remove unnecessary i_version bump
authorJeff Layton <jlayton@redhat.com>
Mon, 30 Oct 2017 15:01:31 +0000 (11:01 -0400)
committerTyler Hicks <tyhicks@canonical.com>
Mon, 6 Nov 2017 18:24:08 +0000 (18:24 +0000)
commit0695a3c744d851cc75d19cea9e63bc2f7dde836f
tree5547ef48a7850a54a679f7fd53417ae0dcd72760
parent02f9876ebb5e9cd31013c62b8839508b2dc152f0
ecryptfs: remove unnecessary i_version bump

There is no need to bump the i_version counter here, as ecryptfs does
not set the SB_I_VERSION flag, and doesn't use it internally. It also
only bumps it when the inode is instantiated, which doesn't make much
sense.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/inode.c