From 3786e49ea95fd4091d2a96b2db6104b225e44f2f Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Mon, 21 Dec 2009 18:16:54 +0000 Subject: Fixed error reporting when rpc format specified on command line (Jan Kara) Added missing files. --- quotaio.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'quotaio.c') diff --git a/quotaio.c b/quotaio.c index 26a0a26..1288e24 100644 --- a/quotaio.c +++ b/quotaio.c @@ -71,6 +71,9 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) errstr(_("RPC quota format not compiled.\n")); goto out_handle; #endif + } else if (fmt == QF_RPC) { + errstr(_("RPC quota format specified for non-NFS filesystem.\n")); + goto out_handle; } if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) { /* XFS filesystem? */ -- cgit v1.2.3