btrfs: reuse kbasename helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 21 Aug 2013 07:32:13 +0000 (10:32 +0300)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:16:36 +0000 (08:16 -0400)
commited84885d1e03839b8508ab707657d8d1002edea6
tree8e5ec12b50c51e9f92554c180b8e00927554b1ab
parente57138b3e96e45a63124492e736612378096290f
btrfs: reuse kbasename helper

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>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/send.c