diff options
author | Josef Bacik <jbacik@redhat.com> | 2007-11-19 10:18:19 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:57 -0400 |
commit | 3acd7ee876c508973eb4722de5b00b3dff4c7372 (patch) | |
tree | a30b5a08ddc5c7aee20d364c139756765f30ebd4 /fs/btrfs | |
parent | 1caf9342fc71d020e788a59598a44d4ea0136b36 (diff) |
Btrfs: xattr fixes
This fixes two typos that Yan pointed out to me. Thanks much,
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c index 984616cca254..33caaf5b4b0c 100644 --- 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, | |||
180 | data_ptr = (unsigned long)((char *)(di + 1) + | 180 | data_ptr = (unsigned long)((char *)(di + 1) + |
181 | btrfs_dir_name_len(leaf, di)); | 181 | btrfs_dir_name_len(leaf, di)); |
182 | read_extent_buffer(leaf, buffer, data_ptr, | 182 | read_extent_buffer(leaf, buffer, data_ptr, |
183 | btrfs_dir_name_len(leaf, di)); | 183 | btrfs_dir_data_len(leaf, di)); |
184 | ret = btrfs_dir_data_len(leaf, di); | 184 | ret = btrfs_dir_data_len(leaf, di); |
185 | 185 | ||
186 | out: | 186 | out: |
@@ -490,7 +490,7 @@ struct xattr_handler btrfs_xattr_user_handler = { | |||
490 | }; | 490 | }; |
491 | 491 | ||
492 | struct xattr_handler btrfs_xattr_trusted_handler = { | 492 | struct xattr_handler btrfs_xattr_trusted_handler = { |
493 | .prefix = XATTR_USER_PREFIX, | 493 | .prefix = XATTR_TRUSTED_PREFIX, |
494 | .list = btrfs_xattr_generic_list, | 494 | .list = btrfs_xattr_generic_list, |
495 | .get = btrfs_xattr_trusted_get, | 495 | .get = btrfs_xattr_trusted_get, |
496 | .set = btrfs_xattr_trusted_set, | 496 | .set = btrfs_xattr_trusted_set, |