diff options
author | Jan Kara <jack@suse.cz> | 2019-11-01 17:45:31 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-11-04 09:58:01 +0100 |
commit | c7d3d28360fdb3ed3a5aa0bab19315e0fdc994a1 (patch) | |
tree | 4369e852f0fb36581f2f7edd3b9d7cd7f4bb569e /include/linux/quotaops.h | |
parent | 5bc52f64e8841c4526d74f1073bfa95d4f6224d4 (diff) |
quota: Factor out setup of quota inode
Factor out setting up of quota inode and eventual error cleanup from
vfs_load_quota_inode(). This will simplify situation for filesystems
that don't have any quota inodes.
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 185d94829701..2625766bcfe7 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h @@ -89,6 +89,8 @@ int dquot_file_open(struct inode *inode, struct file *file); 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_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, |