Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
btrfsprogs.356
2002-btrfs-convert-remove-unused-inode_key-in-c...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2002-btrfs-convert-remove-unused-inode_key-in-copy_single.patch of Package btrfsprogs.356
From 4082b53a43452015270a0f94bdecefa4f924b8ff Mon Sep 17 00:00:00 2001 From: Jeff Mahoney <jeffm@suse.com> Date: Fri, 16 Aug 2013 10:39:27 -0400 Subject: [PATCH 03/10] btrfs-convert: remove unused inode_key in copy_single_inode Signed-off-by: Jeff Mahoney <jeffm@suse.com> --- btrfs-convert.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- a/btrfs-convert.c +++ b/btrfs-convert.c @@ -967,7 +967,6 @@ static int copy_single_inode(struct btrf int datacsum, int packing, int noxattr) { int ret; - struct btrfs_key inode_key; struct btrfs_inode_item btrfs_inode; if (ext2_inode->i_links_count == 0) @@ -1006,11 +1005,7 @@ static int copy_single_inode(struct btrf if (ret) return ret; } - inode_key.objectid = objectid; - inode_key.offset = 0; - btrfs_set_key_type(&inode_key, BTRFS_INODE_ITEM_KEY); - ret = btrfs_insert_inode(trans, root, objectid, &btrfs_inode); - return ret; + return btrfs_insert_inode(trans, root, objectid, &btrfs_inode); } static int copy_disk_extent(struct btrfs_root *root, u64 dst_bytenr,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor