Re: [PATCH] mm: swap: Unlock swapfile inode mutex before closingfile on bad swapfiles

From: Hugh Dickins
Date: Mon Mar 14 2011 - 13:30:32 EST


On Mon, 14 Mar 2011, Mel Gorman wrote:

> This patch releases the mutex if its held before calling filep_close()
> so swapon fails as expected without deadlock when the swapfile is backed
> by NFS. If accepted for 2.6.39, it should also be considered a -stable
> candidate for 2.6.38 and 2.6.37.
>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxx>

Acked-by: Hugh Dickins <hughd@xxxxxxxxxx>

Thank you!
--
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/