configfs: stash the data we need into configfs_buffer at open time
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Aug 2019 15:30:03 +0000 (11:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 18:20:46 +0000 (19:20 +0100)
commit2bd63490c1ddc72c96c363e1ae828ebed6aa2b86
tree02ae42b7dd09e143266cedf086d9122a53dd8dee
parenta7be2debb769092c7c07b9a866b055d8bee5afaf
configfs: stash the data we need into configfs_buffer at open time

commit ff4dd081977da56566a848f071aed8fa92d604a1 upstream.

simplifies the ->read()/->write()/->release() instances nicely

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/file.c