diff options
author | Christian Brauner <brauner@kernel.org> | 2024-03-01 12:26:03 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-03-02 00:31:40 +0300 |
commit | e9c5263ce16d96311c118111ac779f004be8b473 (patch) | |
tree | 4657444a1bb7f15a4a52e5991a2673b80206c7ad /fs/dlm | |
parent | 2558e3b23112adb82a558bab616890a790a38bc6 (diff) | |
download | linux-e9c5263ce16d96311c118111ac779f004be8b473.tar.xz |
libfs: improve path_from_stashed()
Right now we pass a bunch of info that is fs specific which doesn't make
a lot of sense and it bleeds fs sepcific details into the generic
helper. nsfs and pidfs have slightly different needs when initializing
inodes. Add simple operations that are stashed in sb->s_fs_info that
both can implement. This also allows us to get rid of cleaning up
references in the caller. All in all path_from_stashed() becomes way
simpler.
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions