From: Trond Myklebust Date: Mon, 13 Aug 2012 22:54:45 +0000 (-0400) Subject: NFS: Clean up helper function nfs4_select_rw_stateid() X-Git-Tag: v3.7-rc1~58^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a369153c82e0c83621b3e71d8f0c53394705bda;p=pandora-kernel.git 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 --- Reading git-diff-tree failed