diff options
author | Jeff Layton | 2019-06-05 23:24:22 +0200 |
---|---|---|
committer | Ilya Dryomov | 2019-07-08 14:01:43 +0200 |
commit | 441d367644e2f60b37f36bfc656deee551acba5b (patch) | |
tree | 3f982314323d35df283530d228bda9047e99ed69 /fs | |
parent | ceph: allow querying of STATX_BTIME in ceph_getattr (diff) | |
download | kernel-qcow2-linux-441d367644e2f60b37f36bfc656deee551acba5b.tar.gz kernel-qcow2-linux-441d367644e2f60b37f36bfc656deee551acba5b.tar.xz kernel-qcow2-linux-441d367644e2f60b37f36bfc656deee551acba5b.zip |
iversion: add a routine to update a raw value with a larger one
Under ceph, clients can be independently updating iversion themselves,
while working under comprehensive sets of caps on an inode. In that
situation we always want to prefer the largest value of a change
attribute. Add a new function that will update a raw value with a larger
one, but otherwise leave it alone.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions