summaryrefslogtreecommitdiff
path: root/quotasys.c
diff options
context:
space:
mode:
Diffstat (limited to 'quotasys.c')
-rw-r--r--quotasys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quotasys.c b/quotasys.c
index fa28f6e..52938ac 100644
--- a/quotasys.c
+++ b/quotasys.c
@@ -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) {