diff options
author | Jan Kara <jack@suse.cz> | 2019-11-01 18:55:38 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-11-04 09:58:05 +0100 |
commit | 7212b95e61516671672380c6c9d6d80f4f306198 (patch) | |
tree | 9304dfa041deb6623cb18afc6adca27f0dbaf24b /fs/f2fs | |
parent | dc19432ae1c22d696f91edea11ae06c348b4e88a (diff) | |
download | linux-next-7212b95e61516671672380c6c9d6d80f4f306198.tar.gz |
fs: Use dquot_load_quota_inode() from filesystems
Use dquot_load_quota_inode from filesystems instead of dquot_enable().
In all three cases we want to load quota inode and never use the
function to update quota flags.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 1443cee15863..91745d5b718d 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1932,7 +1932,7 @@ static int f2fs_quota_enable(struct super_block *sb, int type, int format_id, /* Don't account quota for quota files to avoid recursion */ qf_inode->i_flags |= S_NOQUOTA; - err = dquot_enable(qf_inode, type, format_id, flags); + err = dquot_load_quota_inode(qf_inode, type, format_id, flags); iput(qf_inode); return err; } |