]> bbs.cooldavid.org Git - net-next-2.6.git/commit
NFSv4: Fix a locking regression in nfs4_set_mode_locked()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Jul 2007 14:23:05 +0000 (10:23 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Aug 2007 19:13:18 +0000 (15:13 -0400)
commitba683031fae115d61c6b5f4c675cc27f6e9576d2
tree561bdd11d1b9c5982fa2317c6c0afeb99ab44e5b
parent5e11934d13c9a3bcb0cadad6c7a7de5c32660422
NFSv4: Fix a locking regression in nfs4_set_mode_locked()

We don't really need to clear &state->inode_states inside
nfs4_set_mode_locked, and doing so without holding the inode->i_lock would
in any case be a bug...

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