btrfs: use btrfs_ino to access inode number
authorDavid Sterba <dsterba@suse.cz>
Tue, 31 May 2011 17:08:14 +0000 (17:08 +0000)
committerChris Mason <chris.mason@oracle.com>
Sat, 4 Jun 2011 12:03:46 +0000 (08:03 -0400)
commita4689d2bd3b00dcf5c4320f06e0ab88810fbff9c
tree295bcdb0fdbe5a4cda80eb886694efd45e276699
parentd132a538d258f8f52fd0cd8b5017755f4e915386
btrfs: use btrfs_ino to access inode number

commit 4cb5300bc ("Btrfs: add mount -o auto_defrag") accesses inode
number directly while it should use the helper with the new inode
number allocator.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c
fs/btrfs/ioctl.c