Lines Matching full:symlink
87 * This is a request to create an absolute symlink on the server in create_native_symlink()
88 * which does not support POSIX paths, and expects symlink in in create_native_symlink()
89 * NT-style path. So convert absolute Linux symlink target path in create_native_symlink()
92 * ensure compatibility of this symlink stored in absolute form in create_native_symlink()
97 * If the absolute Linux symlink target path is not in create_native_symlink()
99 * to convert such Linux symlink to NT-style path. in create_native_symlink()
102 "absolute symlink '%s' cannot be converted to NT format " in create_native_symlink()
114 * Symlink points to Linux target /symlinkroot/x/path/... in create_native_symlink()
130 /* Unhandled absolute symlink. Report an error. */ in create_native_symlink()
133 "absolute symlink '%s' cannot be converted to NT format " in create_native_symlink()
141 * This is request to either create an absolute symlink on in create_native_symlink()
143 * create a relative symlink from the current directory. in create_native_symlink()
184 * SMB distinguish between symlink to directory and symlink to file. in create_native_symlink()
185 * They cannot be exchanged (symlink of file type which points to in create_native_symlink()
187 * the symlink target could be a directory or not. When detection in create_native_symlink()
188 * fails then treat symlink as a file (non-directory) symlink. in create_native_symlink()
264 * First do some simple check. If the original Linux symlink target ends in detect_directory_symlink_target()
266 * sure symlink to the directory. in detect_directory_symlink_target()
283 "%s: cannot determinate if the symlink target path '%s' " in detect_directory_symlink_target()
284 "is directory or not, creating '%s' as file symlink\n", in detect_directory_symlink_target()
290 * If it was not detected as directory yet and the symlink is relative in detect_directory_symlink_target()
309 * Compose the resolved SMB symlink path from the SMB full path in detect_directory_symlink_target()
310 * and Linux target symlink path. in detect_directory_symlink_target()
342 "%s: symlink target path '%s' does not exist, " in detect_directory_symlink_target()
343 "creating '%s' as file symlink\n", in detect_directory_symlink_target()
370 "%s: cannot determinate if the symlink target path '%s' " in detect_directory_symlink_target()
371 "is directory or not, creating '%s' as file symlink\n", in detect_directory_symlink_target()
474 symname_utf16_len -= 2; /* symlink is without trailing wide-nul */ in mknod_nfs()
737 cifs_dbg(VFS, "srv returned malformed nfs symlink buffer\n"); in parse_reparse_nfs()
742 * because Linux cannot process symlink with null byte. in parse_reparse_nfs()
745 cifs_dbg(VFS, "srv returned null byte in nfs symlink target location\n"); in parse_reparse_nfs()
797 cifs_dbg(VFS, "srv returned malformed symlink buffer\n"); in smb2_parse_native_symlink()
804 * because Linux cannot process symlink with null byte. in smb2_parse_native_symlink()
807 cifs_dbg(VFS, "srv returned null byte in native symlink target location\n"); in smb2_parse_native_symlink()
820 * This is an absolute symlink from the server which does not in smb2_parse_native_symlink()
821 * support POSIX paths, so the symlink is in NT-style path. in smb2_parse_native_symlink()
822 * So convert it to absolute Linux symlink target path. Root of in smb2_parse_native_symlink()
832 * other symlinks. Most commonly used symlink paths are: in smb2_parse_native_symlink()
857 * symlink (to \GLOBAL??). It is less common that second path in smb2_parse_native_symlink()
866 * For now parse only symlink paths available for DOS and Win32. in smb2_parse_native_symlink()
868 * via other NT symlink (\DosDevices\, \GLOBAL??\, ...). in smb2_parse_native_symlink()
879 /* Unhandled absolute symlink, points outside of DOS/Win32 */ in smb2_parse_native_symlink()
881 "absolute symlink '%s' cannot be converted from NT format " in smb2_parse_native_symlink()
913 /* Unhandled absolute symlink. Report an error. */ in smb2_parse_native_symlink()
915 "absolute symlink '%s' cannot be converted from NT format " in smb2_parse_native_symlink()
936 * This is a relative SMB symlink from the top of the share, in smb2_parse_native_symlink()
939 * it to the relative symlink from the current directory. in smb2_parse_native_symlink()
940 * full_path is the SMB path to the symlink (from which is in smb2_parse_native_symlink()
942 * where symlink points, therefore full_path must always be on in smb2_parse_native_symlink()
964 * This is either an absolute symlink in POSIX-style format in smb2_parse_native_symlink()
965 * or relative SMB symlink from the current directory. in smb2_parse_native_symlink()
979 cifs_dbg(FYI, "%s: symlink target: %s\n", __func__, *target); in smb2_parse_native_symlink()
1002 cifs_dbg(VFS, "srv returned malformed symlink buffer\n"); in parse_reparse_native_symlink()
1025 cifs_dbg(VFS, "srv returned malformed wsl symlink buffer\n"); in parse_reparse_wsl_symlink()
1031 cifs_dbg(VFS, "srv returned unsupported wsl symlink version %u\n", le32_to_cpu(buf->Version)); in parse_reparse_wsl_symlink()
1039 * because Linux cannot process symlink with null byte. in parse_reparse_wsl_symlink()
1042 cifs_dbg(VFS, "srv returned null byte in wsl symlink target location\n"); in parse_reparse_wsl_symlink()
1263 case 0: /* SMB1 symlink */ in cifs_reparse_point_to_fattr()