btrfs: simplify some assignments of inode numbers
authorDavid Sterba <dsterba@suse.com>
Fri, 29 Jun 2018 08:56:40 +0000 (10:56 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:43 +0000 (13:12 +0200)
commit37508515621551538addaf826ab4b8a9aaf0a382
treee274991c0ac3f84331ddeafb9984a2a3cd800b8a
parent8f6c72a9e08c2a74d2159d2fc986fa9b29ceb851
btrfs: simplify some assignments of inode numbers

There are several places when the btrfs inode is converted to the
generic inode, back to btrfs and then passed to btrfs_ino. We can remove
the extra back and forth conversions.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c