diff options
Diffstat (limited to 'quotasys.c')
-rw-r--r-- | quotasys.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -786,6 +786,9 @@ static int hasquota(const char *dev, struct mntent *mnt, int type, int flags) return hasxfsquota(dev, mnt, type, flags); if (!strcmp(mnt->mnt_type, MNTTYPE_OCFS2)) return hasvfsmetaquota(dev, mnt, type, flags); + + if (!strcmp(mnt->mnt_type, MNTTYPE_BCACHEFS)) + return hasxfsquota(dev, mnt, type, flags) != QF_ERROR ? QF_META : QF_ERROR; /* * For ext4 we check whether it has quota in system files and if not, * we fall back on checking standard quotas. Furthermore we cannot use |