Btrfs: free sys_array eb as soon as possible
authorLiu Bo <bo.li.liu@oracle.com>
Sat, 14 May 2016 00:06:59 +0000 (17:06 -0700)
committerDavid Sterba <dsterba@suse.com>
Wed, 25 May 2016 17:53:51 +0000 (19:53 +0200)
commit1c8b5b6e8b570a8038fa42cf9e7c23782bd4882c
treedcf4a5e8e19dbe95e21d207505372e56ce1eff7b
parentc315ef8d9db7f1a0ebd023a395ebdfde1c68057e
Btrfs: free sys_array eb as soon as possible

While reading sys_chunk_array in superblock, btrfs creates a temporary
extent buffer.  Since we don't use it after finishing reading
 sys_chunk_array, we don't need to keep it in memory.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c