From cafffc50ad9b16fb4c8f51ceb6d7998490bcbb09 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Wed, 24 Jun 2020 18:03:02 +0200 Subject: fs: btrfs: Rename path resolve related functions to avoid name conflicts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the old code is using __btrfs_path/__btrfs_root which is different from the regular extent buffer based one, we add "__" prefix for the old implementation to avoid name conflicts for the incoming crossport. Signed-off-by: Qu Wenruo Reviewed-by: Marek BehĂșn --- fs/btrfs/compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fs/btrfs/compat.h') diff --git a/fs/btrfs/compat.h b/fs/btrfs/compat.h index 52de9db3d05..dbb33951926 100644 --- a/fs/btrfs/compat.h +++ b/fs/btrfs/compat.h @@ -16,6 +16,9 @@ #define BTRFS_UUID_UNPARSED_SIZE 37 +/* No so have to define it here */ +#define XATTR_NAME_MAX 255 + /* * Macros to generate set/get funcs for the struct fields * assume there is a lefoo_to_cpu for every type, so lets make a simple -- cgit v1.2.3