diff options
author | Jan Kara <jack@suse.cz> | 2019-11-01 20:37:44 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-11-04 11:58:05 +0300 |
commit | dc19432ae1c22d696f91edea11ae06c348b4e88a (patch) | |
tree | 9b621dafd46654a7dc58a23681e9cbeeb9f4992b /include/linux/quotaops.h | |
parent | ae45f07d47cc30e9170488a4e5fe91ba4fe5ed4e (diff) | |
download | linux-dc19432ae1c22d696f91edea11ae06c348b4e88a.tar.xz |
quota: Rename vfs_load_quota_inode() to dquot_load_quota_inode()
Rename vfs_load_quota_inode() to dquot_load_quota_inode() to be
consistent with naming of other functions used for enabling quota
accounting from filesystems. Also export the function and add some
sanity checks to assure filesystems are calling the function properly.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/quotaops.h')
-rw-r--r-- | include/linux/quotaops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index 2625766bcfe7..0ce9da5a1a93 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h @@ -91,6 +91,8 @@ int dquot_enable(struct inode *inode, int type, int format_id, unsigned int flags); int dquot_load_quota_sb(struct super_block *sb, int type, int format_id, unsigned int flags); +int dquot_load_quota_inode(struct inode *inode, int type, int format_id, + unsigned int flags); int dquot_quota_on(struct super_block *sb, int type, int format_id, const struct path *path); int dquot_quota_on_mount(struct super_block *sb, char *qf_name, |