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: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NJosef Bacik <jbacik@fusionio.com> Signed-off-by: NChris Mason <chris.mason@fusionio.com>
Showing
想要评论请 注册 或 登录