libfs: simplify path_from_stashed()

Right now we pass the inode number. We don't need to do this though
especially since we might require different handling in an fs like
pidfs. So make init_inode responsible for that. This makes
path_from_stashed() even simpler than it is right now.

Signed-off-by: Christian Brauner <brauner@kernel.org>
4 files changed