From: Miklos Szeredi Date: Tue, 5 Jun 2012 13:10:19 +0000 (+0200) Subject: nfs: clean up ->create in nfs_rpc_ops X-Git-Tag: v3.6-rc1~152^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8867fe5899010a0c0ac36dadfdacf1072b1c990c;p=pandora-kernel.git nfs: clean up ->create in nfs_rpc_ops Don't pass nfs_open_context() to ->create(). Only the NFS4 implementation needed that and only because it wanted to return an open file using open intents. That task has been replaced by ->atomic_open so it is not necessary anymore to pass the context to the create rpc operation. Despite nfs4_proc_create apparently being okay with a NULL context it Oopses somewhere down the call chain. So allocate a context here. Signed-off-by: Miklos Szeredi CC: Trond Myklebust Signed-off-by: Al Viro --- Reading git-diff-tree failed