diff options
| author | Hyunchul Lee <hyc.lee@gmail.com> | 2026-06-15 02:49:55 +0300 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-15 13:39:39 +0300 |
| commit | 115446b06fb725ba04e0f2ae5174029d2c60cad6 (patch) | |
| tree | 72dfef3bddf74860e0d473cd42f885b5e1a426b2 /include/linux/debugobjects.h | |
| parent | 2b58f93a131373117cfea02843f69a02b67a6664 (diff) | |
| download | linux-115446b06fb725ba04e0f2ae5174029d2c60cad6.tar.xz | |
ntfs: add native_symlink mount option
Because bind-mounted subtrees of the volume may resolve to unexpected
locations, change converting junctions and non-relative symbolic links
into paths relative to the NTFS volume to be allowed only if the
native_symlink=rel mount option is specified.
Add the native_symlink=<value> mount option to configure how absolute
symbolic links and mount points (junctions) are handled.
The option accepts "raw" or "rel", with "raw" being the default.
Under "raw", the absolute target path (ni->target) is returned as-is
without translation. Under "rel", ntfs_translate_junction() is called
to rewrite the absolute path as a relative path anchored at the volume
root.
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
