autofs4: fix incorrect return in autofs4_mount_busy()

Fix an obvious incorrect return status in autofs4_mount_busy().

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Ian Kent 2009-04-30 15:08:09 -07:00 коммит произвёл Linus Torvalds
Родитель bc43f75cd9
Коммит a8985f3ac5
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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
* if we can umount its mount, if there is one.
*/
if (!d_mountpoint(dentry))
if (!d_mountpoint(dentry)) {
status = 0;
goto done;
}
}
/* Update the expiry counter if fs is busy */