OSDN Git Service

configfs: new object reprsenting tree fragments
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 25 Aug 2019 23:56:13 +0000 (19:56 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 2 Sep 2019 20:10:44 +0000 (22:10 +0200)
commit47320fbe11a6059ae502c9c16b668022fdb4cf76
treefc3f4623904bf518c2ed13806decb56f8c1f8b6d
parentf19e4ed1e1edbfa3c9ccb9fed17759b7d6db24c6
configfs: new object reprsenting tree fragments

Refcounted, hangs of configfs_dirent, created by operations that add
fragments to configfs tree (mkdir and configfs_register_{subsystem,group}).
Will be used in the next commit to provide exclusion between fragment
removal and ->show/->store calls.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/configfs/configfs_internal.h
fs/configfs/dir.c
fs/configfs/file.c