mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
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:
parent
bc43f75cd9
commit
a8985f3ac5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user