提交 a8985f3a 编写于 作者: I Ian Kent 提交者: Linus Torvalds

autofs4: fix incorrect return in autofs4_mount_busy()

Fix an obvious incorrect return status in autofs4_mount_busy().
Signed-off-by: NIan Kent <raven@themaw.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 bc43f75c
无相关合并请求
...@@ -70,8 +70,10 @@ static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) ...@@ -70,8 +70,10 @@ static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry)
* Otherwise it's an offset mount and we need to check * Otherwise it's an offset mount and we need to check
* if we can umount its mount, if there is one. * if we can umount its mount, if there is one.
*/ */
if (!d_mountpoint(dentry)) if (!d_mountpoint(dentry)) {
status = 0;
goto done; goto done;
}
} }
/* Update the expiry counter if fs is busy */ /* Update the expiry counter if fs is busy */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部