diff options
| author | Josef Bacik <[email protected]> | 2014-03-28 21:16:01 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2014-04-07 16:08:39 +0000 |
| commit | 3f8a18cc53bd1be26eb5b5247e1386ad0e21b623 (patch) | |
| tree | 266eeb3baf38b968ae2186575ae70ef431cf159f /fs/btrfs/async-thread.c | |
| parent | Btrfs: remove transaction from send (diff) | |
| download | kernel-3f8a18cc53bd1be26eb5b5247e1386ad0e21b623.tar.gz kernel-3f8a18cc53bd1be26eb5b5247e1386ad0e21b623.zip | |
Btrfs: hold the commit_root_sem when getting the commit root during send
We currently rely too heavily on roots being read-only to save us from just
accessing root->commit_root. We can easily balance blocks out from underneath a
read only root, so to save us from getting screwed make sure we only access
root->commit_root under the commit root sem. Thanks,
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
