NFS: handle inode==NULL in __put_nfs_open_context
authorBenny Halevy <bhalevy@panasas.com>
Thu, 23 Sep 2010 16:22:09 +0000 (12:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 23 Sep 2010 16:22:09 +0000 (12:22 -0400)
commitef84303ebc77a9041265faaccd56b7fcef151077
tree971755468ab947358ee3d1348a6aca2df08bcc49
parent5eebde23223aeb0ad2d9e3be6590ff8bbfab0fc2
NFS: handle inode==NULL in __put_nfs_open_context

inode may be NULL when put_nfs_open_context is called from nfs_atomic_lookup
before d_add_unique(dentry, inode)

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c