]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Clear up state owner lock usage
authorAnna Schumaker <Anna.Schumaker@netapp.com>
Wed, 3 Sep 2014 18:15:40 +0000 (14:15 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:00 +0000 (12:47 -0700)
commit66947fa4fd864fd69c311f7f45d25af20d3b2106
treeb274ddc0b8fb3387e7a10b9aaa9b2f5850b79f7f
parent55eeb7762c93dbfa16ba040fa6d8b6a7dee030b6
NFS: Clear up state owner lock usage

can_open_cached() reads values out of the state structure, meaning that
we need the so_lock to have a correct return value.  As a bonus, this
helps clear up some potentially confusing code.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c