Skip to content
Commit 504e5189 authored by Neil Brown's avatar Neil Brown Committed by Trond Myklebust
Browse files

Make nfs_file_cred more robust.



As not all files have an associated open_context (e.g. device special
files), it is safest to test for the existence of the open context
before de-referencing it.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 18de9735
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment