key.offset = btrfs_name_hash(name, name_len);
path = btrfs_alloc_path();
if (!path)
key.offset = btrfs_name_hash(name, name_len);
path = btrfs_alloc_path();
if (!path)
* pointing at anything else, that will change if we store the xattr
* data in a separate inode.
*/
* pointing at anything else, that will change if we store the xattr
* data in a separate inode.
*/
key.offset = btrfs_name_hash(name, name_len);
path = btrfs_alloc_path();
if (!path)
key.offset = btrfs_name_hash(name, name_len);
path = btrfs_alloc_path();
if (!path)
key.offset = index;
dir_item = insert_with_overflow(trans, root, path, &key, data_size,
name, name_len);
key.offset = index;
dir_item = insert_with_overflow(trans, root, path, &key, data_size,
name, name_len);
btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
if (found_key.objectid != dir ||
btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
if (found_key.objectid != dir ||