]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Locking problems while EXT3FS_DEBUG on
authorGlauber de Oliveira Costa <glommer@br.ibm.com>
Sun, 30 Oct 2005 23:02:48 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:23 +0000 (17:37 -0800)
commit90a53d7e5b8889e36fe6d3388509e119ee09d429
tree29aa104cc40bd2c85e7bba0f4b404b04cd6f207a
parentb2e7055bda2d5ab09269991802772dafe6d5f6bb
[PATCH] Locking problems while EXT3FS_DEBUG on

I noticed some problems while running ext3 with the debug flag set on.
More precisely, I was unable to umount the filesystem.  Some investigation
took me to the patch that follows.

At a first glance , the lock/unlock I've taken out seems really not
necessary, as the main code (outside debug) does not lock the super.  The
only additional danger operations that debug code introduces seems to be
related to bitmap, but bitmap operations tends to be all atomic anyway.

I also took the opportunity to fix 2 spelling errors.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/balloc.c
fs/ext3/ialloc.c
fs/ext3/inode.c