diff options
author | David Howells <dhowells@redhat.com> | 2014-07-22 16:55:45 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-07-22 16:55:45 -0400 |
commit | 633706a2ee81637be37b6bc02c5336950cc163b5 (patch) | |
tree | 5dad64c393d3b12276b35c5835c40c6d78f606a2 /fs | |
parent | 64724cfc6eea920dbaada14f0fb978b1dd31192d (diff) | |
parent | 0d1f64f60b4c50a8c604010ad3eef5cdfe9926bc (diff) |
Merge branch 'keys-fixes' into keys-next
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/idmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index 59b217a3266d..7dd55b745c4d 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c | |||
@@ -284,6 +284,8 @@ static struct key *nfs_idmap_request_key(const char *name, size_t namelen, | |||
284 | desc, "", 0, idmap); | 284 | desc, "", 0, idmap); |
285 | mutex_unlock(&idmap->idmap_mutex); | 285 | mutex_unlock(&idmap->idmap_mutex); |
286 | } | 286 | } |
287 | if (!IS_ERR(rkey)) | ||
288 | set_bit(KEY_FLAG_ROOT_CAN_INVAL, &rkey->flags); | ||
287 | 289 | ||
288 | kfree(desc); | 290 | kfree(desc); |
289 | return rkey; | 291 | return rkey; |