| From | chenxiaosong.chenxiaosong@linux ... | | Subject | [PATCH 13/30] smb/client: remove useless elements from ntstatus_to_dos_map array | | Date | Mon, 8 Dec 2025 14:20:43 +0800 |
| |
From: ChenXiaoSong <chenxiaosong@kylinos.cn>
The last element in the array is no longer needed.
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> --- fs/smb/client/netmisc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/smb/client/netmisc.c b/fs/smb/client/netmisc.c index 55100c2c14cf..4e6312593d6f 100644 --- a/fs/smb/client/netmisc.c +++ b/fs/smb/client/netmisc.c @@ -793,8 +793,7 @@ static struct ntstatus_to_dos ntstatus_to_dos_map[] = { ERRDOS, ERRnoaccess, 0xc0000290}, { ERRDOS, ERRbadfunc, 0xc000029c}, { ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, { - ERRDOS, ERRinvlevel, 0x007c0001}, { - 0, 0, 0 } + ERRDOS, ERRinvlevel, 0x007c0001}, }; static unsigned int ntstatus_to_dos_num = sizeof(ntstatus_to_dos_map) / -- 2.43.0
|