diff options
author | Shaohua Li <shli@fb.com> | 2017-07-12 21:49:49 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-07-29 18:00:03 +0300 |
commit | 319ba91d352a74acb47678788109a14b9b4dd4c2 (patch) | |
tree | 5c3de7ff9d1614ce546043115f46c762e2ffacbd /drivers/clocksource/arm_arch_timer.c | |
parent | ba16b2846a8c6965d0d35be3968bc10f6277812d (diff) | |
download | linux-319ba91d352a74acb47678788109a14b9b4dd4c2.tar.xz |
kernfs: don't set dentry->d_fsdata
When working on adding exportfs operations in kernfs, I found it's hard
to initialize dentry->d_fsdata in the exportfs operations. Looks there
is no way to do it without race condition. Look at the kernfs code
closely, there is no point to set dentry->d_fsdata. inode->i_private
already points to kernfs_node, and we can get inode from a dentry. So
this patch just delete the d_fsdata usage.
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
0 files changed, 0 insertions, 0 deletions