linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amir Goldstein <amir73il@gmail.com>
To: lijiazi <jqqlijiazi@gmail.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>, lijiazi <lijiazi@xiaomi.com>,
	overlayfs <linux-unionfs@vger.kernel.org>
Subject: Re: [PATCH] ovl: use pr_fmt auto generate prefix
Date: Fri, 13 Dec 2019 14:19:36 +0200	[thread overview]
Message-ID: <CAOQ4uxifkz9wFSo58SWeru58tOvfLC_S436QiSx0Hn-XaC-Vnw@mail.gmail.com> (raw)
In-Reply-To: <1e61319cf6d1f3c8f313a01b0198be4745f9f460.1576208513.git.lijiazi@xiaomi.com>

On Fri, Dec 13, 2019 at 1:13 PM lijiazi <jqqlijiazi@gmail.com> wrote:
>
> Use pr_fmt auto generate "overlayfs: " prefix.
>
> Signed-off-by: lijiazi <lijiazi@xiaomi.com>
> ---
>  fs/overlayfs/Makefile    |  4 +--
>  fs/overlayfs/copy_up.c   |  2 +-
>  fs/overlayfs/dir.c       | 10 +++---
>  fs/overlayfs/export.c    | 12 +++----
>  fs/overlayfs/inode.c     |  6 ++--
>  fs/overlayfs/namei.c     | 26 +++++++--------
>  fs/overlayfs/overlayfs.h |  6 ++++
>  fs/overlayfs/readdir.c   |  8 ++---
>  fs/overlayfs/super.c     | 85 ++++++++++++++++++++++++------------------------
>  fs/overlayfs/util.c      | 14 ++++----
>  10 files changed, 90 insertions(+), 83 deletions(-)
>
> diff --git a/fs/overlayfs/Makefile b/fs/overlayfs/Makefile
> index 9164c58..73ba668 100644
> --- a/fs/overlayfs/Makefile
> +++ b/fs/overlayfs/Makefile
> @@ -3,7 +3,7 @@
>  # Makefile for the overlay filesystem.
>  #
>
> -obj-$(CONFIG_OVERLAY_FS) += overlay.o
> +obj-$(CONFIG_OVERLAY_FS) += overlayfs.o
>
> -overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
> +overlayfs-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
>                 copy_up.o export.o

But see ef94b1864d1e ovl: rename filesystem type to "overlay"

You can just use the string "overlayfs:" instead of KBUILD_MODNAME.

Thanks,
Amir.

      reply	other threads:[~2019-12-13 12:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-13 11:13 [PATCH] ovl: use pr_fmt auto generate prefix lijiazi
2019-12-13 12:19 ` Amir Goldstein [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOQ4uxifkz9wFSo58SWeru58tOvfLC_S436QiSx0Hn-XaC-Vnw@mail.gmail.com \
    --to=amir73il@gmail.com \
    --cc=jqqlijiazi@gmail.com \
    --cc=lijiazi@xiaomi.com \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).