mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
Btrfs: Change magic string to reflect new format
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
fdebe2bd70
commit
69a32ac517
2 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,7 @@ extern struct kmem_cache *btrfs_transaction_cachep;
|
||||||
extern struct kmem_cache *btrfs_bit_radix_cachep;
|
extern struct kmem_cache *btrfs_bit_radix_cachep;
|
||||||
extern struct kmem_cache *btrfs_path_cachep;
|
extern struct kmem_cache *btrfs_path_cachep;
|
||||||
|
|
||||||
#define BTRFS_MAGIC "_B2RfS_M"
|
#define BTRFS_MAGIC "_B3RfS_M"
|
||||||
|
|
||||||
#define BTRFS_MAX_LEVEL 8
|
#define BTRFS_MAX_LEVEL 8
|
||||||
#define BTRFS_ROOT_TREE_OBJECTID 1ULL
|
#define BTRFS_ROOT_TREE_OBJECTID 1ULL
|
||||||
|
|
|
@ -454,7 +454,8 @@ static int btrfs_xattr_##name##_set(struct inode *inode, \
|
||||||
if (*name == '\0') \
|
if (*name == '\0') \
|
||||||
return -EINVAL; \
|
return -EINVAL; \
|
||||||
return btrfs_xattr_set(inode, index, name, value, size, flags); \
|
return btrfs_xattr_set(inode, index, name, value, size, flags); \
|
||||||
} \
|
}
|
||||||
|
|
||||||
BTRFS_XATTR_SETGET_FUNCS(security, BTRFS_XATTR_INDEX_SECURITY);
|
BTRFS_XATTR_SETGET_FUNCS(security, BTRFS_XATTR_INDEX_SECURITY);
|
||||||
BTRFS_XATTR_SETGET_FUNCS(system, BTRFS_XATTR_INDEX_SYSTEM);
|
BTRFS_XATTR_SETGET_FUNCS(system, BTRFS_XATTR_INDEX_SYSTEM);
|
||||||
BTRFS_XATTR_SETGET_FUNCS(user, BTRFS_XATTR_INDEX_USER);
|
BTRFS_XATTR_SETGET_FUNCS(user, BTRFS_XATTR_INDEX_USER);
|
||||||
|
|
Loading…
Reference in a new issue