diff options
author | Petr Písař <ppisar@redhat.com> | 2014-10-23 14:12:01 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-11-26 09:14:00 +0100 |
commit | bffaeb028ee716ed46e5b74a45162f2ef45b2963 (patch) | |
tree | 92a1864ad100bb5fcd626cd737b58e489fcbb743 /Changelog | |
parent | 663ac451b045b4823d6d633893a5d748c09f42f2 (diff) |
Skip NFS mounts without rquotad RPC service silently
If NFS server does uses quotas, then it's high chance the RCP rquotad
service is not running at all. Then listing quotas for such NFS mount
point results into a warning about "connection refused".
This warning can be obtrusive if a host has mounted various mixture of
NFS exports with and without quotas.
This patch recognizes this special error state (after performing
a query to a client without running rquotad) and considers such
server as having quotas disabled. This silents the warning
effectively.
JK: Some coding style fixes, treat also rpc_set_quota() this way.
Signed-off-by: Petr Písař <ppisar@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'Changelog')
0 files changed, 0 insertions, 0 deletions