]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerChris Mason <clm@fb.com>
Thu, 26 Jan 2017 23:48:55 +0000 (15:48 -0800)
commit1b1db54e814e8a79ef3a5034742a9a776acc5b6a
tree908e6b79444f96a49695d916428876c7933d1a7d
parent9324e23e442e043b0546a9b792a18aa96364d3ac
Btrfs: remove old tree_root case in btrfs_read_locked_inode()

As Jeff explained in 3361e627c941 ("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.

Cc: <stable@vger.kernel.org> # 4.9.x
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/inode.c