OSDN Git Service

Btrfs: remove old tree_root case in btrfs_read_locked_inode()
authorOmar Sandoval <osandov@fb.com>
Thu, 26 Jan 2017 01:06:38 +0000 (17:06 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2017 07:33:06 +0000 (08:33 +0100)
commit79babd4a6ce26d6b0e6a56da47efb723431abc70
tree7ca648ebc30157d588c75d38d25b5725d3af6cc3
parent959f9709c0251275f05fd9092ff25e9b9bec237e
Btrfs: remove old tree_root case in btrfs_read_locked_inode()

commit 67ade058ef2c65a3e56878af9c293ec76722a2e5 upstream.

As Jeff explained in c2951f32d36c ("btrfs: remove old tree_root dirent
processing in btrfs_real_readdir()"), supporting this old format is no
longer necessary since the Btrfs magic number has been updated since we
changed to the current format. There are other places where we still
handle this old format, but since this is part of a fix that is going to
stable, I'm only removing this one for now.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/inode.c