Clark noticed the following snippit in commit 070976b5b038218900648ea4cc88786d5dfcd58d : if (mnt->mnt_pinned) { - inc_mnt_count(mnt); + preempt_disable(); + dec_mnt_count(mnt); + preempt_enable(); mnt->mnt_pinned--; } vfsmount_write_unlock(); I accidentally replaced an inc_mnt_count() with a dec_mnt_count(). The issue went unnoticed, as the only user of mnt_unpin in the acct syscall. This patch corrects the mistake. Signed-off-by: John Stultz <johnstul@xxxxxxxxxx> diff --git a/fs/namespace.c b/fs/namespace.c index 35c56c2..ed4a3ea 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -825,7 +825,7 @@ void mnt_unpin(struct vfsmount *mnt) vfsmount_write_lock(); if (mnt->mnt_pinned) { preempt_disable(); - dec_mnt_count(mnt); + inc_mnt_count(mnt); preempt_enable(); mnt->mnt_pinned--; } -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html