diff options
author | lijiazi <jqqlijiazi@gmail.com> | 2019-12-16 14:12:32 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-01-22 22:11:41 +0300 |
commit | 1bd0a3aea4357e1dce8b3f0f889fd3fe756353e6 (patch) | |
tree | 480c44198d99c64fd83bf50d3884b80943ca60a6 /fs/overlayfs/overlayfs.h | |
parent | 4c37e71b713ecffe81f8e6273c6835e54306d412 (diff) | |
download | linux-1bd0a3aea4357e1dce8b3f0f889fd3fe756353e6.tar.xz |
ovl: use pr_fmt auto generate prefix
Use pr_fmt auto generate "overlayfs: " prefix.
Signed-off-by: lijiazi <lijiazi@xiaomi.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
-rw-r--r-- | fs/overlayfs/overlayfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index f283b1d69a9e..fea79f7680c8 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h @@ -9,6 +9,9 @@ #include <linux/fs.h> #include "ovl_entry.h" +#undef pr_fmt +#define pr_fmt(fmt) "overlayfs: " fmt + enum ovl_path_type { __OVL_PATH_UPPER = (1 << 0), __OVL_PATH_MERGE = (1 << 1), |