mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
fs: refactor ksys_umount
Factor out a path_umount helper that takes a struct path * instead of the actual file name. This will allow to convert the init and devtmpfs code to properly mount based on a kernel pointer instead of relying on the implicit set_fs(KERNEL_DS) during early init. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
a1e6aaa374
commit
41525f56e2
1 changed files with 18 additions and 22 deletions
Loading…
Add table
Add a link
Reference in a new issue