]> 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)
commite03d7a129edb67e1e7c9504dacc6f5eed9726623
treeb95eacab84a8ce9d98410becad8a4e33473285d9
parenta1b805f1f7ed7d6faeb05665d24e461482d539af
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