Skip to content
Commit ed84885d authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Chris Mason
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent e57138b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment