[PATCH 0/2] kernfs: Remove reference counting for kernfs_open_node.

Imran Khan posted 2 patches 4 years, 2 months ago
There is a newer version of this series
fs/kernfs/file.c       | 92 +++++++++++++++++-------------------------
include/linux/kernfs.h |  2 +-
2 files changed, 39 insertions(+), 55 deletions(-)
[PATCH 0/2] kernfs: Remove reference counting for kernfs_open_node.
Posted by Imran Khan 4 years, 2 months ago
This patchset contains changes that were suggested as part of review of [1].
I am sending these changes as a separate patchset because [1] focusses on
replacing some global locks with hashed ones while these changes are applicable
irrespective of whether we stick with global locks or endup using hashed locks
eventually and hence these changes can be reviewed independent of [1].

[1] https://lore.kernel.org/lkml/YjOpedPDj+3KCJjk@zeniv-ca.linux.org.uk/

Imran Khan (2):
  kernfs: Remove reference counting for kernfs_open_node.
  kernfs: make ->attr.open RCU protected.

 fs/kernfs/file.c       | 92 +++++++++++++++++-------------------------
 include/linux/kernfs.h |  2 +-
 2 files changed, 39 insertions(+), 55 deletions(-)


base-commit: dd315b5800612e6913343524aa9b993f9a8bb0cf
-- 
2.30.2