Repository navigation
Commit c6664b4
Btrfs: remove lock assert from get_restripe_target()
This fixes a regression introduced by fc67c45. spin_is_locked() always
returns 0 on UP kernels, which caused assert in get_restripe_target() to
be fired on every call from btrfs_reduce_alloc_profile() on UP systems.
Remove it completely for now, it's not clear if it's going to be needed
in future.
Reported-by: Bobby Powers <bobbypowers@gmail.com>
Reported-by: Mitch Harder <mitch.harder@sabayonlinux.org>
Tested-by: Mitch Harder <mitch.harder@sabayonlinux.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>1 parent b89203f commit c6664b4
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3152 | 3152 | | |
3153 | 3153 | | |
3154 | 3154 | | |
| 3155 | + | |
| 3156 | + | |
3155 | 3157 | | |
3156 | 3158 | | |
3157 | 3159 | | |
3158 | 3160 | | |
3159 | 3161 | | |
3160 | 3162 | | |
3161 | | - | |
3162 | | - | |
3163 | | - | |
3164 | 3163 | | |
3165 | 3164 | | |
3166 | 3165 | | |
| |||
0 commit comments