configfs: new object reprsenting tree fragments
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 25 Aug 2019 23:56:13 +0000 (19:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 18:20:46 +0000 (19:20 +0100)
commit25c118d8d158655513b25f7861e84d10820c0987
tree2bf132ffd8b903f44f7cbe580cdf5fdeaab45bfc
parent65524d647e9d7c185a33701ced4ef0dbf581ea5a
configfs: new object reprsenting tree fragments

commit 47320fbe11a6059ae502c9c16b668022fdb4cf76 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/configfs/configfs_internal.h
fs/configfs/dir.c
fs/configfs/file.c