]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
configfs: new object reprsenting tree fragments
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 25 Aug 2019 23:56:13 +0000 (19:56 -0400)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:10 +0000 (13:16 +0100)
commitecb0c8cdcdc4ec745b371e6d7872ccaaa25ea56d
tree413457c7931e0ee15cf2559a3da96752fc525bdb
parente55790ed0a84442da4317bdae17de63e12e726ba
configfs: new object reprsenting tree fragments

BugLink: https://bugs.launchpad.net/bugs/1853519
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/configfs/configfs_internal.h
fs/configfs/dir.c
fs/configfs/file.c