[git pull] fix for nasty races in br_write_lock()

From: Al Viro
Date: Thu Dec 22 2011 - 02:09:13 EST


There's a nasty race between CPU hotplug and br_write_lock();
the latter pretty much assumes that the set of online CPUs can't change
between br_write_lock() and br_write_unlock(). Caught by Cong Meng,
solution hashed out during the last few days between me and Srivatsa S. Bhat
on l-k/fsdevel thread, appears to fix the problem in a reasonably sane
way. It'll need to go into -stable as well; all branches since 2.6.36.
Please, pull from the usual place;
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Shortlog:
Srivatsa S. Bhat (1):
VFS: Fix race between CPU hotplug and lglocks

Diffstat:
include/linux/lglock.h | 36 ++++++++++++++++++++++++++++++++----
1 files changed, 32 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/