Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: chenxiaosong.chenxiaosong@linux.dev
To: smfrench@gmail.com, linkinjeon@kernel.org, pc@manguebit.org,
	ronniesahlberg@gmail.com, sprasad@microsoft.com, tom@talpey.com,
	bharathsm@microsoft.com, senozhatsky@chromium.org,
	dhowells@redhat.com, hehuiwen@kylinos.cn
Cc: linux-cifs@vger.kernel.org, ChenXiaoSong <chenxiaosong@kylinos.cn>
Subject: [PATCH 07/17] smb/client: add NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT
Date: Wed, 21 Jan 2026 19:49:02 +0800	[thread overview]
Message-ID: <20260121114912.2138032-8-chenxiaosong.chenxiaosong@linux.dev> (raw)
In-Reply-To: <20260121114912.2138032-1-chenxiaosong.chenxiaosong@linux.dev>

From: Huiwen He <hehuiwen@kylinos.cn>

See MS-ERREf 2.3.1 STATUS_DIRECTORY_IS_A_REPARSE_POINT.

Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
---
 fs/smb/client/nterr.c        | 2 ++
 fs/smb/client/nterr.h        | 1 +
 fs/smb/client/smb1maperror.c | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/fs/smb/client/nterr.c b/fs/smb/client/nterr.c
index 28b6320f2d21..679ff5d600cf 100644
--- a/fs/smb/client/nterr.c
+++ b/fs/smb/client/nterr.c
@@ -681,6 +681,8 @@ const struct nt_err_code_struct nt_errs[] = {
 	{"NT_STATUS_FILE_IS_OFFLINE", NT_STATUS_FILE_IS_OFFLINE},
 	{"NT_STATUS_VOLUME_DISMOUNTED", NT_STATUS_VOLUME_DISMOUNTED},
 	{"NT_STATUS_NOT_A_REPARSE_POINT", NT_STATUS_NOT_A_REPARSE_POINT},
+	{"NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT",
+	 NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT},
 	{"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
 	{"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
 	{"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
diff --git a/fs/smb/client/nterr.h b/fs/smb/client/nterr.h
index 2056831ea631..087f970c6ceb 100644
--- a/fs/smb/client/nterr.h
+++ b/fs/smb/client/nterr.h
@@ -552,6 +552,7 @@ extern const struct nt_err_code_struct nt_errs[];
 #define NT_STATUS_FILE_IS_OFFLINE (0xC0000000 | 0x0267)
 #define NT_STATUS_VOLUME_DISMOUNTED (0xC0000000 | 0x026e)
 #define NT_STATUS_NOT_A_REPARSE_POINT (0xC0000000 | 0x0275)
+#define NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT (0xC0000000 | 0x0281)
 #define NT_STATUS_NETWORK_SESSION_EXPIRED  (0xC0000000 | 0x035c)
 #define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)	/* scheduler */
 #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
diff --git a/fs/smb/client/smb1maperror.c b/fs/smb/client/smb1maperror.c
index 164b721c7dda..e91d9a22d843 100644
--- a/fs/smb/client/smb1maperror.c
+++ b/fs/smb/client/smb1maperror.c
@@ -659,7 +659,7 @@ static const struct {
 	ERRHRD, ERRgeneral, NT_STATUS_QUOTA_LIST_INCONSISTENT}, {
 	ERRHRD, ERRgeneral, NT_STATUS_FILE_IS_OFFLINE}, {
 	ERRDOS, 21, NT_STATUS_VOLUME_DISMOUNTED}, {
-	ERRDOS, 161, 0xc0000281}, {
+	ERRDOS, 161, NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, {
 	ERRDOS, ERRnoaccess, 0xc000028a}, {
 	ERRDOS, ERRnoaccess, 0xc000028b}, {
 	ERRHRD, ERRgeneral, 0xc000028c}, {
-- 
2.43.0


  parent reply	other threads:[~2026-01-21 11:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21 11:48 [PATCH 00/17] smb/client: update SMB1 maperror chenxiaosong.chenxiaosong
2026-01-21 11:48 ` [PATCH 01/17] smb/client: map NT_STATUS_INVALID_INFO_CLASS to ERRbadpipe chenxiaosong.chenxiaosong
2026-01-21 11:48 ` [PATCH 02/17] smb/client: add NT_STATUS_OS2_INVALID_LEVEL chenxiaosong.chenxiaosong
2026-01-21 11:48 ` [PATCH 03/17] smb/client: rename ERRinvlevel to ERRunknownlevel chenxiaosong.chenxiaosong
2026-01-21 11:48 ` [PATCH 04/17] smb/client: add NT_STATUS_VARIABLE_NOT_FOUND chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 05/17] smb/client: add NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 06/17] smb/client: add NT_STATUS_VOLUME_DISMOUNTED chenxiaosong.chenxiaosong
2026-01-21 11:49 ` chenxiaosong.chenxiaosong [this message]
2026-01-21 11:49 ` [PATCH 08/17] smb/client: add NT_STATUS_ENCRYPTION_FAILED chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 09/17] smb/client: add NT_STATUS_DECRYPTION_FAILED chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 10/17] smb/client: add NT_STATUS_RANGE_NOT_FOUND chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 11/17] smb/client: add NT_STATUS_NO_RECOVERY_POLICY chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 12/17] smb/client: add NT_STATUS_NO_EFS chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 13/17] smb/client: add NT_STATUS_WRONG_EFS chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 14/17] smb/client: add NT_STATUS_NO_USER_KEYS chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 15/17] smb/client: add NT_STATUS_VOLUME_NOT_UPGRADED chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 16/17] smb/client: remove some literal NT error codes from ntstatus_to_dos_map chenxiaosong.chenxiaosong
2026-01-21 11:49 ` [PATCH 17/17] smb/client: remove useless comment in mapping_table_ERRSRV chenxiaosong.chenxiaosong
2026-01-21 18:59 ` [PATCH 00/17] smb/client: update SMB1 maperror Steve French

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260121114912.2138032-8-chenxiaosong.chenxiaosong@linux.dev \
    --to=chenxiaosong.chenxiaosong@linux.dev \
    --cc=bharathsm@microsoft.com \
    --cc=chenxiaosong@kylinos.cn \
    --cc=dhowells@redhat.com \
    --cc=hehuiwen@kylinos.cn \
    --cc=linkinjeon@kernel.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=pc@manguebit.org \
    --cc=ronniesahlberg@gmail.com \
    --cc=senozhatsky@chromium.org \
    --cc=smfrench@gmail.com \
    --cc=sprasad@microsoft.com \
    --cc=tom@talpey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox