]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d6523579fc23b329fa52b9db626fe5b3cb78446
treee274991c0ac3f84331ddeafb9984a2a3cd800b8a
parent2e145162db497c4cfd2529f76294e215c45d7773
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