aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorValentina Giusti <valentina.giusti@microon.de>2013-11-04 16:34:22 -0500
committerChris Mason <clm@fb.com>2014-01-28 16:19:31 -0500
commit99e22f783bbcd048819975b8a1463f39a9966bcf (patch)
tree65e51c0ba6c00a9d15da1c69d87b0b604e00cd7c /fs/btrfs/inode.c
parentf8ba9c11f8320be0d553d4b18000e35f7ad672ac (diff)
btrfs: remove unused variable from btrfs_new_inode
Variable owner in btrfs_new_inode is unused since commit d82a6f1d7e8b61ed5996334d0db66651bb43641d (Btrfs: kill BTRFS_I(inode)->block_group) Signed-off-by: Valentina Giusti <valentina.giusti@microon.de> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index c0c0dc8f07fa..41079c6ed968 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -5372,7 +5372,6 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,
5372 u32 sizes[2]; 5372 u32 sizes[2];
5373 unsigned long ptr; 5373 unsigned long ptr;
5374 int ret; 5374 int ret;
5375 int owner;
5376 5375
5377 path = btrfs_alloc_path(); 5376 path = btrfs_alloc_path();
5378 if (!path) 5377 if (!path)
@@ -5418,11 +5417,6 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,
5418 */ 5417 */
5419 set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &BTRFS_I(inode)->runtime_flags); 5418 set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &BTRFS_I(inode)->runtime_flags);
5420 5419
5421 if (S_ISDIR(mode))
5422 owner = 0;
5423 else
5424 owner = 1;
5425
5426 key[0].objectid = objectid; 5420 key[0].objectid = objectid;
5427 btrfs_set_key_type(&key[0], BTRFS_INODE_ITEM_KEY); 5421 btrfs_set_key_type(&key[0], BTRFS_INODE_ITEM_KEY);
5428 key[0].offset = 0; 5422 key[0].offset = 0;