projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1caf934
)
Btrfs: xattr fixes
author
Josef Bacik
<jbacik@redhat.com>
Mon, 19 Nov 2007 15:18:19 +0000
(10:18 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:57 +0000
(11:03 -0400)
This fixes two typos that Yan pointed out to me. Thanks much,
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/xattr.c
b/fs/btrfs/xattr.c
index 984616cca254f21dc8307e8432fd3f91926d8de7..33caaf5b4b0c37bf79487c6ca525059cb55afdbd 100644
(file)
--- a/
fs/btrfs/xattr.c
+++ b/
fs/btrfs/xattr.c
@@
-180,7
+180,7
@@
ssize_t btrfs_xattr_get(struct inode *inode, int name_index,
data_ptr = (unsigned long)((char *)(di + 1) +
btrfs_dir_name_len(leaf, di));
read_extent_buffer(leaf, buffer, data_ptr,
- btrfs_dir_
name
_len(leaf, di));
+ btrfs_dir_
data
_len(leaf, di));
ret = btrfs_dir_data_len(leaf, di);
out:
@@
-490,7
+490,7
@@
struct xattr_handler btrfs_xattr_user_handler = {
};
struct xattr_handler btrfs_xattr_trusted_handler = {
- .prefix = XATTR_
USER
_PREFIX,
+ .prefix = XATTR_
TRUSTED
_PREFIX,
.list = btrfs_xattr_generic_list,
.get = btrfs_xattr_trusted_get,
.set = btrfs_xattr_trusted_set,