From: Stanislav Kinsbursky Date: Mon, 26 Dec 2011 12:39:39 +0000 (+0300) Subject: SUNRPC: pipefs per-net operations helper introduced X-Git-Tag: v3.4-rc1~123^2~218 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c21a588f35b1c50304e505fad542b3aab0814266;p=pandora-kernel.git SUNRPC: pipefs per-net operations helper introduced During per-net pipes creation and destruction we have to make sure, that pipefs sb exists for the whole creation/destruction cycle. This is done by using special mutex which controls pipefs sb reference on network namespace context. Helper consists of two parts: first of them (rpc_get_dentry_net) searches for dentry with specified name and returns with mutex taken on success. When pipe creation or destructions is completed, caller should release this mutex by rpc_put_dentry_net call. Signed-off-by: Stanislav Kinsbursky Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed