Re: [PATCH v4 05/19] afs: convert to new i_version API
From: Jeff Layton
Date: Tue Jan 02 2018 - 13:57:51 EST
On Tue, 2018-01-02 at 17:20 +0000, David Howells wrote:
> Jeff Layton <jlayton@xxxxxxxxxx> wrote:
>
> > Note that AFS has quite a different definition for this counter. AFS
> > only increments it on changes to the data, not for the metadata.
>
> This also applies to AFS directories: create, mkdir, unlink, rmdir, link,
> symlink, rename, and mountpoint creation/removal all bump the data version
> number on a directory by exactly one if they change it.
>
Thanks! I updated that part of the the commit log to read:
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.
--
Jeff Layton <jlayton@xxxxxxxxxx>