mnt_drop_write() is called after releasing the reference to the path with path_put(). Signed-off-by: Jan Blunck --- net/unix/af_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/net/unix/af_unix.c =================================================================== --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -752,8 +752,8 @@ static struct sock *unix_find_other(stru if (u->sk_type == type) touch_atime(nd.path.mnt, nd.path.dentry); - path_put(&nd.path); mnt_drop_write(nd.path.mnt); + path_put(&nd.path); err=-EPROTOTYPE; if (u->sk_type != type) { -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/