From: Steve Dickson Date: Thu, 12 Jan 2012 20:09:49 +0000 (-0500) Subject: nfsidmap: Purge the keyring when its full. X-Git-Tag: nfs-utils-1-2-6-rc6~1 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=2e1ea708610b4831518873cebde1c96368426471;hp=2e1ea708610b4831518873cebde1c96368426471 nfsidmap: Purge the keyring when its full. When a key can not be added to a keyring because the keyring is full or there is no memory for the playload, keyctl_instantiate() will fail and set the errno to -EDQUOT, -ENFILE or -ENOMEM When this happens, purge the keyring to free things up and then try to re-add the key. Signed-off-by: Steve Dickson ---