diff options
author | jkar8572 <jkar8572> | 2009-12-21 18:16:54 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2009-12-21 18:16:54 +0000 |
commit | 3786e49ea95fd4091d2a96b2db6104b225e44f2f (patch) | |
tree | 54b55568d2e9503bdbaa7f637c4524c9f7562441 /quotaio.c | |
parent | aee64e6dcd0366cd826587361b0becdf90a33608 (diff) |
Fixed error reporting when rpc format specified on command line (Jan Kara)
Added missing files.
Diffstat (limited to 'quotaio.c')
-rw-r--r-- | quotaio.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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? */ |