linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Bacik <jbacik@fusionio.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Chris Mason <chris.mason@fusionio.com>, <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] btrfs: reuse kbasename helper
Date: Tue, 20 Aug 2013 14:48:13 -0400	[thread overview]
Message-ID: <20130820184813.GI3990@localhost.localdomain> (raw)
In-Reply-To: <1376307670-27010-1-git-send-email-andriy.shevchenko@linux.intel.com>

On Mon, Aug 12, 2013 at 02:41:10PM +0300, Andy Shevchenko wrote:
> To get name of the file from a pathname let's use kbasename() helper. It allows
> to simplify code a bit.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Introduces a compile error

fs/btrfs/send.c: In function ‘record_ref’:
fs/btrfs/send.c:2615:12: warning: assignment discards ‘const’ qualifier from
pointer target type [enabled by default]
fs/btrfs/send.c:2605:8: warning: unused variable ‘tmp’ [-Wunused-variable]

Thanks,

Josef

      reply	other threads:[~2013-08-20 18:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12 11:41 [PATCH] btrfs: reuse kbasename helper Andy Shevchenko
2013-08-20 18:48 ` Josef Bacik [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=20130820184813.GI3990@localhost.localdomain \
    --to=jbacik@fusionio.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=chris.mason@fusionio.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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).