1
0
Fork 0

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>
wifi-calibration
Ian Kent 2009-04-30 15:08:09 -07:00 committed by Linus Torvalds
parent bc43f75cd9
commit a8985f3ac5
1 changed files with 3 additions and 1 deletions

View File

@ -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 */