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.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -91,6 +91,8 @@ int dquot_enable(struct inode *inode, int type, int format_id, · 90 unmodified lines | |||
| 91 | unsigned int flags); | 91 | unsigned int flags); |
| 92 | int dquot_load_quota_sb(struct super_block *sb, int type, int format_id, | 92 | int dquot_load_quota_sb(struct super_block *sb, int type, int format_id, |
| 93 | unsigned int flags); | 93 | unsigned int flags); |
| 94 | int dquot_load_quota_inode(struct inode *inode, int type, int format_id, | ||
| 95 | unsigned int flags); | ||
| 94 | int dquot_quota_on(struct super_block *sb, int type, int format_id, | 96 | int dquot_quota_on(struct super_block *sb, int type, int format_id, |
| 95 | const struct path *path); | 97 | const struct path *path); |
| 96 | int dquot_quota_on_mount(struct super_block *sb, char *qf_name, | 98 | int dquot_quota_on_mount(struct super_block *sb, char *qf_name, |