Skip to content

Commit

Permalink
Btrfs: xattr fixes
Browse files Browse the repository at this point in the history
This fixes two typos that Yan pointed out to me.  Thanks much,

Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Josef Bacik authored and Chris Mason committed Sep 25, 2008
1 parent 1caf934 commit 3acd7ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3acd7ee

Please sign in to comment.