summaryrefslogtreecommitdiff
path: root/fs/cifsd/misc.c
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2021-06-28 15:23:19 +0900
committerNamjae Jeon <namjae.jeon@samsung.com>2021-06-28 16:27:55 +0900
commitbde1694aecdb535970787b4f1d07ddb317e191e3 (patch)
treeaae9128d6f6aa0104d8f514270c3fd74c2bb4c67 /fs/cifsd/misc.c
parent3fbe43c9f577cadd6b5136fda2e6a6c0b4e0651e (diff)
downloadlwn-bde1694aecdb535970787b4f1d07ddb317e191e3.tar.gz
lwn-bde1694aecdb535970787b4f1d07ddb317e191e3.zip
ksmbd: remove ksmbd_err/info
Use the pr_fmt built into pr_*. and use pr_err/info after removing wrapper ksmbd_err/info. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifsd/misc.c')
-rw-r--r--fs/cifsd/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifsd/misc.c b/fs/cifsd/misc.c
index 1c6ed20f4a18..0b307ca28a19 100644
--- a/fs/cifsd/misc.c
+++ b/fs/cifsd/misc.c
@@ -107,7 +107,7 @@ static int ksmbd_validate_stream_name(char *stream_name)
stream_name++;
if (c == '/' || c == ':' || c == '\\') {
- ksmbd_err("Stream name validation failed: %c\n", c);
+ pr_err("Stream name validation failed: %c\n", c);
return -ENOENT;
}
}