diff options
author | Jeff Layton <jlayton@kernel.org> | 2021-08-02 18:01:26 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-09-02 23:49:17 +0300 |
commit | 0ba92e1c5f7ce7e9c1c828a84e873d7be51c1b9f (patch) | |
tree | 6820ef381dbcca7a789c4dcf8fb14968fb9b2485 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c80dc3aee984c647d747bb07c108862effc917d8 (diff) | |
download | linux-0ba92e1c5f7ce7e9c1c828a84e873d7be51c1b9f.tar.xz |
ceph: add ceph_change_snap_realm() helper
Consolidate some fiddly code for changing an inode's snap_realm
into a new helper function, and change the callers to use it.
While we're in here, nothing uses the i_snap_realm_counter field, so
remove that from the inode.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Luis Henriques <lhenriques@suse.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions