diff options
author | Ian Kent <raven@themaw.net> | 2009-04-30 15:08:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-02 15:36:09 -0700 |
commit | a8985f3ac503b51c5abf8883fc4fb912e13b955c (patch) | |
tree | db5e81738c8dcfe62e3bf2132c35246b7d88429d /fs | |
parent | bc43f75cd9815833b27831600ccade672edb5e43 (diff) | |
download | blackbird-op-linux-a8985f3ac503b51c5abf8883fc4fb912e13b955c.tar.gz blackbird-op-linux-a8985f3ac503b51c5abf8883fc4fb912e13b955c.zip |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/autofs4/expire.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/autofs4/expire.c b/fs/autofs4/expire.c index 75f7ddacf7d6..3077d8f16523 100644 --- a/fs/autofs4/expire.c +++ b/fs/autofs4/expire.c @@ -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 */ |