btrfs: sanitizing ->fs_info, part 5
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 17 Nov 2011 05:56:18 +0000 (00:56 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Jan 2012 00:34:38 +0000 (19:34 -0500)
commite3029d9fd426c8f582210ba35551ae5506218345
tree629376e0a5db20e91d5f6b40cc2ab26c2bc35883
parent6f07e42ee6fcc252a210781d7262f4051e9fd8f6
btrfs: sanitizing ->fs_info, part 5

close_ctree() uses a weird mix of accesses to root->fs_info and
its value at the beginning of function stored in local variable.
Since ->fs_info *never* changes, let's just use the local variable
to avoid confusion.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/disk-io.c