diff options
author | Valentina Giusti <valentina.giusti@microon.de> | 2013-11-04 22:34:22 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 22:19:31 +0100 |
commit | 99e22f783bbcd048819975b8a1463f39a9966bcf (patch) | |
tree | 65e51c0ba6c00a9d15da1c69d87b0b604e00cd7c /fs | |
parent | btrfs: publish fs label in sysfs (diff) | |
download | linux-99e22f783bbcd048819975b8a1463f39a9966bcf.tar.xz linux-99e22f783bbcd048819975b8a1463f39a9966bcf.zip |
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')
-rw-r--r-- | fs/btrfs/inode.c | 6 |
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, u32 sizes[2]; unsigned long ptr; int ret; - int owner; path = btrfs_alloc_path(); if (!path) @@ -5418,11 +5417,6 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans, */ set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &BTRFS_I(inode)->runtime_flags); - if (S_ISDIR(mode)) - owner = 0; - else - owner = 1; - key[0].objectid = objectid; btrfs_set_key_type(&key[0], BTRFS_INODE_ITEM_KEY); key[0].offset = 0; |