commit | 2a369153c82e0c83621b3e71d8f0c53394705bda | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Aug 13 18:54:45 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 28 16:03:04 2012 -0400 |
tree | bed0f7bfde6d8eac2b58bf0f7c452afb5f906b40 | |
parent | b3c54de6f82d01637796bcc1f667a45f3b32e814 [diff] |
NFS: Clean up helper function nfs4_select_rw_stateid() We want to be able to pass on the information that the page was not dirtied under a lock. Instead of adding a flag parameter, do this by passing a pointer to a 'struct nfs_lock_owner' that may be NULL. Also reuse this structure in struct nfs_lock_context to carry the fl_owner_t and pid_t. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>