commit | 61beef75cc5bae119e500c9f25daad8596c7cbe4 | [log] [tgz] |
---|---|---|
author | Anna Schumaker <Anna.Schumaker@netapp.com> | Wed Sep 03 14:15:40 2014 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Sep 10 12:47:00 2014 -0700 |
tree | b274ddc0b8fb3387e7a10b9aaa9b2f5850b79f7f | |
parent | 0f7a622ca61621f951af01448b956f2ecf5fad99 [diff] |
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>