]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: just free dummy extent buffers
authorJosef Bacik <jbacik@fb.com>
Mon, 16 Mar 2015 21:38:02 +0000 (17:38 -0400)
committerJosef Bacik <jbacik@fb.com>
Tue, 17 Mar 2015 20:30:18 +0000 (16:30 -0400)
commitb7e1525fcf903e9e2021aa5134f73ad39c39e16f
tree105b57d8cf6f68e4787805b2e2db5be646f801c9
parent2c33e78257290a1e3f07cfb3e93e36450fca57f3
Btrfs: just free dummy extent buffers

If we fail during our sanity tests we could get NULL deref's because we unload
the module before the dummy extent buffers are free'd via RCU.  So check for
this case and just free the things directly.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/extent_io.c