Re: [PATCH] mnt: release locks on error path in do_loopback

2013-04-09 Thread Al Viro
On Tue, Apr 09, 2013 at 05:33:29PM +0400, Andrey Vagin wrote: > do_loopback calls lock_mount(path) and forget to unlock_mount > if clone_mnt or copy_mnt fails. Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH] mnt: release locks on error path in do_loopback

2013-04-09 Thread Andrey Vagin
do_loopback calls lock_mount(path) and forget to unlock_mount if clone_mnt or copy_mnt fails. [ 77.661566] [ 77.662939] [ BUG: lock held when returning to user space! ] [ 77.664104] 3.9.0-rc5+ #17 Not tainted [ 77.664982] ---