summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-07-02 13:00:52 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-07-09 17:16:39 -0400
commit76fa66657900071016f2bae61de28f059f3f2abf (patch)
tree79fa6e7b03a149acaa1c6ac1ca29b5c6b6c05685 /net/ieee802154
parentcda57a1ef6f0da7e24f392ffdf00538ec0480310 (diff)
downloadop-kernel-dev-76fa66657900071016f2bae61de28f059f3f2abf.zip
op-kernel-dev-76fa66657900071016f2bae61de28f059f3f2abf.tar.gz
rpc_pipe: set dentry operations at d_alloc time
Currently the way these get set is a little convoluted. If the dentry is allocated via lookup from userland, then it gets set by simple_lookup. If it gets allocated when the kernel is populating the directory, then it gets set via __rpc_lookup_create_exclusive, which has to check whether they might already be set. Between both of these, this ensures that all dentries have their d_op pointer set. Instead of doing that, just have them set at d_alloc time by pointing sb->s_d_op at them. With that change, we no longer want the lookup op to set them, so we must move to using our own lookup routine. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud