]> git.baikalelectronics.ru Git - kernel.git/commit
afs: convert to new i_version API
authorJeff Layton <jlayton@redhat.com>
Mon, 11 Dec 2017 11:35:11 +0000 (06:35 -0500)
committerJeff Layton <jlayton@redhat.com>
Mon, 29 Jan 2018 11:42:20 +0000 (06:42 -0500)
commit153144a9a1b0c83022e3431c7f8d65384a0c6b2d
treeb95eacab84a8ce9d98410becad8a4e33473285d9
parent4963898b4a896909141d09180f54e37915ce2044
afs: convert to new i_version API

For AFS, it's generally treated as an opaque value, so we use the
*_raw variants of the API here.

Note that AFS has quite a different definition for this counter. AFS
only increments it on changes to the data to the data in regular files
and contents of the directories. Inode metadata changes do not result
in a version increment.

We'll need to reconcile that somehow if we ever want to present this to
userspace via statx.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/afs/fsclient.c
fs/afs/inode.c