diff options
author | lijiazi <jqqlijiazi@gmail.com> | 2019-12-16 12:12:32 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-01-22 20:11:41 +0100 |
commit | 1bd0a3aea4357e1dce8b3f0f889fd3fe756353e6 (patch) | |
tree | 480c44198d99c64fd83bf50d3884b80943ca60a6 /fs/overlayfs/overlayfs.h | |
parent | ovl: fix wrong WARN_ON() in ovl_cache_update_ino() (diff) | |
download | linux-1bd0a3aea4357e1dce8b3f0f889fd3fe756353e6.tar.xz linux-1bd0a3aea4357e1dce8b3f0f889fd3fe756353e6.zip |
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), |