diff options
-rw-r--r-- | mntopt.h | 1 | ||||
-rw-r--r-- | quotacheck.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,7 @@ #define MNTTYPE_EXT2 "ext2" /* 2nd Extended file system */ #define MNTTYPE_EXT3 "ext3" /* ext2 + journaling */ #define MNTTYPE_EXT4 "ext4" /* ext4 filesystem */ +#define MNTTYPE_NEXT3 "next3" /* next3 filesystem */ #define MNTTYPE_EXT4DEV "ext4dev"/* ext4dev filesystem */ #define MNTTYPE_MINIX "minix" /* MINIX file system */ #define MNTTYPE_UFS "ufs" /* UNIX file system */ diff --git a/quotacheck.c b/quotacheck.c index 8853491..fec9ec3 100644 --- a/quotacheck.c +++ b/quotacheck.c @@ -925,7 +925,7 @@ Please stop all programs writing to filesystem or use -m flag to force checking. } debug(FL_VERBOSE, _("Scanning %s [%s] "), mnt->mnt_fsname, mnt->mnt_dir); #if defined(EXT2_DIRECT) - if (!strcmp(mnt->mnt_type, MNTTYPE_EXT2) || !strcmp(mnt->mnt_type, MNTTYPE_EXT3)) { + if (!strcmp(mnt->mnt_type, MNTTYPE_EXT2) || !strcmp(mnt->mnt_type, MNTTYPE_EXT3) || !strcmp(mnt->mnt_type, MNTTYPE_NEXT3)) { if (ext2_direct_scan(mnt->mnt_fsname) < 0) goto out; } @@ -1083,6 +1083,7 @@ static void check_all(void) !hasmntopt(mnt, MNTOPT_GRPJQUOTA) && !warned && (!strcmp(mnt->mnt_type, MNTTYPE_EXT3) || !strcmp(mnt->mnt_type, MNTTYPE_EXT4) || + !strcmp(mnt->mnt_type, MNTTYPE_NEXT3) || !strcmp(mnt->mnt_type, MNTTYPE_EXT4DEV) || !strcmp(mnt->mnt_type, MNTTYPE_REISER))) { struct utsname stats; |