diff options
author | Jeff Layton <[email protected]> | 2019-06-05 17:24:22 -0400 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2019-07-08 14:01:43 +0200 |
commit | 441d367644e2f60b37f36bfc656deee551acba5b (patch) | |
tree | 3f982314323d35df283530d228bda9047e99ed69 /net/lapb/lapb_in.c | |
parent | 58981784a6926e14964bb0e41dca38d75976b946 (diff) |
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 <[email protected]>
Reviewed-by: "Yan, Zheng" <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions