summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-04-12 22:03:56 +0200
committerChris Mason <chris.mason@oracle.com>2012-04-12 22:03:56 +0200
commitc6664b42c4e567792abdb17c958fb01c5bcfcb3a (patch)
tree41a5f7e6f6507db58103ed3d96f3154e0fe04331 /fs/btrfs/ctree.c
parentBtrfs: fix eof while discarding extents (diff)
downloadlinux-c6664b42c4e567792abdb17c958fb01c5bcfcb3a.tar.xz
linux-c6664b42c4e567792abdb17c958fb01c5bcfcb3a.zip
Btrfs: remove lock assert from get_restripe_target()
This fixes a regression introduced by fc67c450. 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>
Diffstat (limited to 'fs/btrfs/ctree.c')
0 files changed, 0 insertions, 0 deletions