The patch titled ufs: unlock_super without lock has been added to the -mm tree. Its filename is ufs-unlock_super-without-lock.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ufs: unlock_super without lock From: Evgeniy Dushistov <dushistov@xxxxxxx> ufs_free_blocks function looks now in so way: if (err) goto failed; lock_super(); failed: unlock_super(); So if error happen we'll unlock not locked super. Signed-off-by: Evgeniy Dushistov <dushistov@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ufs/balloc.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff -puN fs/ufs/balloc.c~ufs-unlock_super-without-lock fs/ufs/balloc.c --- devel/fs/ufs/balloc.c~ufs-unlock_super-without-lock 2006-06-03 16:38:52.000000000 -0700 +++ devel-akpm/fs/ufs/balloc.c 2006-06-03 16:38:52.000000000 -0700 @@ -156,7 +156,7 @@ do_more: bit = ufs_dtogd (fragment); if (cgno >= uspi->s_ncg) { ufs_panic (sb, "ufs_free_blocks", "freeing blocks are outside device"); - goto failed; + goto failed_unlock; } end_bit = bit + count; if (end_bit > uspi->s_fpg) { @@ -167,11 +167,11 @@ do_more: ucpi = ufs_load_cylinder (sb, cgno); if (!ucpi) - goto failed; + goto failed_unlock; ucg = ubh_get_ucg (UCPI_UBH(ucpi)); if (!ufs_cg_chkmagic(sb, ucg)) { ufs_panic (sb, "ufs_free_blocks", "internal error, bad magic number on cg %u", cgno); - goto failed; + goto failed_unlock; } for (i = bit; i < end_bit; i += uspi->s_fpb) { @@ -210,8 +210,9 @@ do_more: UFSD("EXIT\n"); return; -failed: +failed_unlock: unlock_super (sb); +failed: UFSD("EXIT (FAILED)\n"); return; } _ Patches currently in -mm which might be from dushistov@xxxxxxx are ufs-ufs_trunc_indirect-infinite-cycle.patch ufs-right-block-allocation.patch ufs-change-block-number-on-the-fly.patch ufs-directory-and-page-cache-install-aops.patch ufs-directory-and-page-cache-from-blocks-to-pages.patch ufs-wrong-type-cast.patch ufs-not-usual-amounts-of-fragments-per-block.patch ufs-unmark-config_ufs_fs_write-as-broken-mm-tree.patch ufs-easy-debug.patch ufs-little-directory-lookup-optimization.patch ufs-i_blocks-wrong-count.patch ufs-unlock_super-without-lock.patch ufs-zero-metadata.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html