rpc_pipe: rpc_dir_inode_operations can be static
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 10 Jul 2013 01:17:14 +0000 (09:17 +0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 10 Jul 2013 01:35:27 +0000 (21:35 -0400)
commit4f8568cb5290295c384d5c1328c52790e33a8a0d
tree48235459134c28186c40d5a79cb1d9934a2f7240
parentc7559663e42f4294ffe31fe159da6b6a66b35d61
rpc_pipe: rpc_dir_inode_operations can be static

Hi Jeff,

FYI, there are new sparse warnings show up in

tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git nfs-for-next
head:   296afe1f58d55fd56ed85daaafafcfee39f59ece
commit: 76fa66657900071016f2bae61de28f059f3f2abf [2/5] rpc_pipe: set dentry operations at d_alloc time

>> net/sunrpc/rpc_pipe.c:496:31: sparse: symbol 'rpc_dir_inode_operations' was not declared. Should it be static?

Please consider folding the attached diff :-)

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c