Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
69a32ac5
Commit
69a32ac5
authored
Jan 14, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Change magic string to reflect new format
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
fdebe2bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
fs/btrfs/ctree.h
fs/btrfs/ctree.h
+1
-1
fs/btrfs/xattr.c
fs/btrfs/xattr.c
+2
-1
No files found.
fs/btrfs/ctree.h
View file @
69a32ac5
...
@@ -36,7 +36,7 @@ extern struct kmem_cache *btrfs_transaction_cachep;
...
@@ -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 "_B
2
RfS_M"
#define BTRFS_MAGIC "_B
3
RfS_M"
#define BTRFS_MAX_LEVEL 8
#define BTRFS_MAX_LEVEL 8
#define BTRFS_ROOT_TREE_OBJECTID 1ULL
#define BTRFS_ROOT_TREE_OBJECTID 1ULL
...
...
fs/btrfs/xattr.c
View file @
69a32ac5
...
@@ -454,7 +454,8 @@ static int btrfs_xattr_##name##_set(struct inode *inode, \
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment