summaryrefslogtreecommitdiffstats
path: root/utils/exportfs/exportfs.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2015-12-11 10:48:19 -0500
committerSteve Dickson <steved@redhat.com>2015-12-11 11:22:25 -0500
commit4c3f97bb8ea409651491113a43a6d2b9d752d1e7 (patch)
tree307bf871a0e69839a011ac4ca21370ad1d0da35e /utils/exportfs/exportfs.c
parent76f8ce8ce02868490ddfc5686bd48562fa73eab1 (diff)
downloadnfs-utils-4c3f97bb8ea409651491113a43a6d2b9d752d1e7.tar.gz
nfs-utils-4c3f97bb8ea409651491113a43a6d2b9d752d1e7.tar.xz
nfs-utils-4c3f97bb8ea409651491113a43a6d2b9d752d1e7.zip
nfsidmap: keyring_clear() should succeed if id_resolver keyring not found
If the id_resolver keyring doesn't exist, the kernel has no cached idmap information to expunge. AFAIK it's not an error. If nfsidmap is run by a non-privileged user, the id_resolver keyring is never visible. IMO that should be reported, but the error message should report the privilege problem, not the missing keyring. Reported-by: Amy Shi <amy.shi@oracle.com> Fixes: 69aa69e7de80 ('nfsidmap: Allow keys to be cleared from the ') Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/exportfs/exportfs.c')
0 files changed, 0 insertions, 0 deletions