• Glauber de Oliveira Costa's avatar
    [PATCH] Locking problems while EXT3FS_DEBUG on · 5b116879
    Glauber de Oliveira Costa authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    5b116879
ialloc.c 22.2 KB