mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[PATCH] quota: consolidate code surrounding vfs_quota_on_mount
Move some code duplicated in both callers into vfs_quota_on_mount Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Jan Kara <jack@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
df164db5fd
commit
84de856ed3
4 changed files with 26 additions and 39 deletions
|
|
@ -39,7 +39,8 @@ extern int dquot_commit_info(struct super_block *sb, int type);
|
|||
extern int dquot_mark_dquot_dirty(struct dquot *dquot);
|
||||
|
||||
extern int vfs_quota_on(struct super_block *sb, int type, int format_id, char *path);
|
||||
extern int vfs_quota_on_mount(int type, int format_id, struct dentry *dentry);
|
||||
extern int vfs_quota_on_mount(struct super_block *sb, char *qf_name,
|
||||
int format_id, int type);
|
||||
extern int vfs_quota_off(struct super_block *sb, int type);
|
||||
#define vfs_quota_off_mount(sb, type) vfs_quota_off(sb, type)
|
||||
extern int vfs_quota_sync(struct super_block *sb, int type);
|
||||
|
|
|
|||
Loading…
Reference in a new issue