diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-12-17 05:43:00 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:13 -0400 |
commit | 0f5254aa98befa5187cc4d02584ab0f19d18ff68 (patch) | |
tree | f216065b3dd82d6f1f0d84d61e2a02b95dd5ebd8 /fs/bcachefs/fs.h | |
parent | d42dd4ad6d7e15a7742ed008d1be3c37247547c9 (diff) |
bcachefs: bch2_fs_quota_transfer
improve quota transfer locking & make ei_qid usage more consistent
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs.h')
-rw-r--r-- | fs/bcachefs/fs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/bcachefs/fs.h b/fs/bcachefs/fs.h index 4fdc11762cd7..fbb31976bc55 100644 --- a/fs/bcachefs/fs.h +++ b/fs/bcachefs/fs.h @@ -70,6 +70,12 @@ struct bch_inode_unpacked; #ifndef NO_BCACHEFS_FS +int bch2_fs_quota_transfer(struct bch_fs *, + struct bch_inode_info *, + struct bch_qid, + unsigned, + enum quota_acct_mode); + /* returns 0 if we want to do the update, or error is passed up */ typedef int (*inode_set_fn)(struct bch_inode_info *, struct bch_inode_unpacked *, void *); |