diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-06-06 00:24:22 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-07-08 15:01:43 +0300 |
commit | 441d367644e2f60b37f36bfc656deee551acba5b (patch) | |
tree | 3f982314323d35df283530d228bda9047e99ed69 /fs/ceph/mds_client.h | |
parent | 58981784a6926e14964bb0e41dca38d75976b946 (diff) | |
download | linux-441d367644e2f60b37f36bfc656deee551acba5b.tar.xz |
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/ceph/mds_client.h')
0 files changed, 0 insertions, 0 deletions