NFSv4: Check for the existence of a delegation in nfs4_open_prepare()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 5 Jul 2007 23:02:21 +0000 (19:02 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:43 +0000 (23:40 -0400)
commitaac00a8d0a53097063da532cbdf0b8775a4dcd53
tree4a83d1a25dd23d63cbcb0fe5c40b2f857ebcc19e
parent3e309914a15333a5493058e4927e979c7434ae44
NFSv4: Check for the existence of a delegation in nfs4_open_prepare()

We should not be calling open() on an inode that has a delegation unless
we're doing a reclaim.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c