OSDN Git Service

cifs: make fs_context error logging wrapper
authorAurelien Aptel <aaptel@suse.com>
Mon, 1 Mar 2021 18:25:00 +0000 (19:25 +0100)
committerSteve French <stfrench@microsoft.com>
Sun, 25 Apr 2021 21:28:24 +0000 (16:28 -0500)
commit9d4ac8b6302c60a1949560e501fc1d0b4654b9c6
tree19d653c93a6c819fe428f747d154c941972251b8
parent7fe6fe95b936084dce6eedcc2cccadf96eafae73
cifs: make fs_context error logging wrapper

This new helper will be used in the fs_context mount option parsing
code. It log errors both in:
* the fs_context log queue for userspace to read
* kernel printk buffer (dmesg, old behaviour)

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/fs_context.h