summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorDavid Howells2018-11-02 00:07:23 +0100
committerAl Viro2019-01-30 23:44:28 +0100
commitc6b82263f9c6e745eb4c5dfc2578d147c4cd7604 (patch)
treeea5b8ed22b446c4a23f81e07e1d8e23ae7da6702 /fs/namei.c
parentintroduce fs_context methods (diff)
downloadkernel-qcow2-linux-c6b82263f9c6e745eb4c5dfc2578d147c4cd7604.tar.gz
kernel-qcow2-linux-c6b82263f9c6e745eb4c5dfc2578d147c4cd7604.tar.xz
kernel-qcow2-linux-c6b82263f9c6e745eb4c5dfc2578d147c4cd7604.zip
vfs: Introduce logging functions
Introduce a set of logging functions through which informational messages, warnings and error messages incurred by the mount procedure can be logged and, in a future patch, passed to userspace instead by way of the filesystem configuration context file descriptor. There are four functions: (1) infof(const char *fmt, ...); Logs an informational message. (2) warnf(const char *fmt, ...); Logs a warning message. (3) errorf(const char *fmt, ...); Logs an error message. (4) invalf(const char *fmt, ...); As errof(), but returns -EINVAL so can be used on a return statement. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions