diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-10-10 16:46:25 -0700 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-10-16 09:42:44 +0200 |
commit | 4d81e8b4af6fdecf20ed777d67fe4b25e9fb46f6 (patch) | |
tree | 2043902d09360177ead404620aea85ebfc7c3a8f /quotasys.c | |
parent | 16f31b143b41aaa50e43073fa0aadb8474820e1f (diff) | |
download | linuxquota-4d81e8b4af6fdecf20ed777d67fe4b25e9fb46f6.tar.gz |
f2fs: support f2fs's quota sysfile
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quotasys.c')
-rw-r--r-- | quotasys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -769,7 +769,7 @@ static int hasquota(const char *dev, struct mntent *mnt, int type, int flags) * standard GETFMT quotactl because that does not distinguish between * quota in system file and quota in ordinary file. */ - if (!strcmp(mnt->mnt_type, MNTTYPE_EXT4)) { + if (!strcmp(mnt->mnt_type, MNTTYPE_EXT4) || !strcmp(mnt->mnt_type, MNTTYPE_F2FS)) { struct if_dqinfo kinfo; if (quotactl(QCMD(Q_GETINFO, type), dev, 0, (void *)&kinfo) == 0) { |