]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Make nfs_file_cred more robust.
authorNeil Brown <neilb@suse.de>
Thu, 16 Oct 2008 03:15:16 +0000 (14:15 +1100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 17 Oct 2008 17:06:45 +0000 (13:06 -0400)
commit504e518953a330c8d44a95bdd65a5c9f50f1012e
tree383df8cd12bebecd9bcf7714b6d8b07324a6353f
parent18de9735300756e3ca9c361ef58409d8561dfe0d
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: NeilBrown <neilb@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
include/linux/nfs_fs.h