diff options
| author | Miao Xie <[email protected]> | 2014-03-06 05:54:59 +0000 |
|---|---|---|
| committer | Josef Bacik <[email protected]> | 2014-03-10 19:17:25 +0000 |
| commit | 0424c548976b4c2a72c0bdbea425cf9d51e82d0f (patch) | |
| tree | c2b23a67f9f423969676d4f5ec8fc5836d48d2ea /fs/btrfs/dev-replace.c | |
| parent | Btrfs: remove the unnecessary flush when preparing the pages (diff) | |
| download | kernel-0424c548976b4c2a72c0bdbea425cf9d51e82d0f.tar.gz kernel-0424c548976b4c2a72c0bdbea425cf9d51e82d0f.zip | |
Btrfs: remove unnecessary lock in may_commit_transaction()
The reason is:
- The per-cpu counter has its own lock to protect itself.
- Here we needn't get a exact value.
Signed-off-by: Miao Xie <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
