diff options
author | Tinguely, Mark <mark.tinguely@hpe.com> | 2018-05-09 16:50:25 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-05-09 16:50:25 +0200 |
commit | a92dcf5a6cc49660d75a67966b0eb093b88e3b4c (patch) | |
tree | d14700cd141a2d0103c5639a2518636051f259d6 /quotaio.c | |
parent | 59b280ebe22eceaf4250cb3b776674619a4d4ece (diff) |
Aadd HPE XFS support
HPE XFS has a different superblock magic and type name
to allow the community XFS and HPE XFS to coexist in
the same linux kernel.
This patch add HPE XFS support to the quota-tools so
our customers can use it.
Signed-off-by: Mark Tinguely <mark.tinguely@hpe.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quotaio.c')
-rw-r--r-- | quotaio.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -79,7 +79,8 @@ struct quota_handle *init_io(struct mount_entry *mnt, int type, int fmt, int fla } if (!strcmp(mnt->me_type, MNTTYPE_XFS) || /* XFS filesystem? */ - !strcmp(mnt->me_type, MNTTYPE_GFS2)) { /* XFS filesystem? */ + !strcmp(mnt->me_type, MNTTYPE_GFS2) || /* XFS filesystem? */ + !strcmp(mnt->me_type, MNTTYPE_EXFS)) { /* EXFS filesystem? */ if (fmt != -1 && fmt != QF_XFS) { /* User wanted some other format? */ errstr(_("Only XFS quota format is allowed on XFS filesystem.\n")); goto out_handle; |