diff options
author | David Sterba <dsterba@suse.com> | 2019-10-03 19:09:35 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:46:52 +0100 |
commit | 4c66e0d4243bb8829f2c936e966030d967726e90 (patch) | |
tree | c8f8229fd33d2d5c26151316a1fbf550145cd96a /fs/btrfs/file.c | |
parent | baf320b9d531f1cfbf64c60dd155ff80a58b3796 (diff) | |
download | linux-stable-4c66e0d4243bb8829f2c936e966030d967726e90.tar.gz linux-stable-4c66e0d4243bb8829f2c936e966030d967726e90.tar.bz2 linux-stable-4c66e0d4243bb8829f2c936e966030d967726e90.zip |
btrfs: drop unused parameter is_new from btrfs_iget
The parameter is now always set to NULL and could be dropped. The last
user was get_default_root but that got reworked in 05dbe6837b60 ("Btrfs:
unify subvol= and subvolid= mounting") and the parameter became unused.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 25ce1b6dbda9..f9434fa3e387 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -296,7 +296,7 @@ static int __btrfs_run_defrag_inode(struct btrfs_fs_info *fs_info, key.objectid = defrag->ino; key.type = BTRFS_INODE_ITEM_KEY; key.offset = 0; - inode = btrfs_iget(fs_info->sb, &key, inode_root, NULL); + inode = btrfs_iget(fs_info->sb, &key, inode_root); if (IS_ERR(inode)) { ret = PTR_ERR(inode); goto cleanup; |