From: Santosh Nayak <santoshprasadnayak@xxxxxxxxx> There is a missing "up_write()" here. Semaphore should be released before returning. Signed-off-by: Santosh Nayak <santoshprasadnayak@xxxxxxxxx> --- Destination tree "linux-next" fs/namespace.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index 8f412ab..d5173df 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1473,8 +1473,10 @@ retry: } down_write(&namespace_sem); mnt = lookup_mnt(path); - if (likely(!mnt)) + if (likely(!mnt)) { + up_write(&namespace_sem); return 0; + } up_write(&namespace_sem); mutex_unlock(&path->dentry->d_inode->i_mutex); path_put(path); -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html