Commit 269df04
smb/server: fix return value of smb2_ioctl()
__process_request() will not print error messages if smb2_ioctl()
always returns 0.
Fix this by returning the correct value at the end of function.
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent dafe22b commit 269df04
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8154 | 8154 | | |
8155 | 8155 | | |
8156 | 8156 | | |
8157 | | - | |
| 8157 | + | |
8158 | 8158 | | |
8159 | 8159 | | |
8160 | 8160 | | |
| |||
8174 | 8174 | | |
8175 | 8175 | | |
8176 | 8176 | | |
| 8177 | + | |
8177 | 8178 | | |
8178 | | - | |
| 8179 | + | |
8179 | 8180 | | |
8180 | 8181 | | |
8181 | 8182 | | |
| |||
8465 | 8466 | | |
8466 | 8467 | | |
8467 | 8468 | | |
| 8469 | + | |
| 8470 | + | |
8468 | 8471 | | |
8469 | | - | |
| 8472 | + | |
8470 | 8473 | | |
8471 | 8474 | | |
8472 | 8475 | | |
| |||
0 commit comments