autofs4 - fix incorect return in autofs4_mount_busy()
Subsystems (2)
Ian Kent
maintainerPATCH 1/1 autofs4 - fix incorect return in autofs4_mount_busy()
This patch addresses bug 496766.
Fix an obvious incorect return status in autofs4_mount_busy().
---
fs/autofs4/expire.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
fs/autofs4/expire.c +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 */
Quoted 1 line · On Thu, 23 Apr 2009 15:34:52 +0800 Ian Kent <[email protected]> wrote:
This patch addresses bug 496766.
In which tracking system?
Please prefer to provide the full URL. I use the form:
Addresses http://....496766
Ian Kent
maintainerQuoted 10 lines · Andrew Morton
Quoted 1 line · On Thu, 23 Apr 2009 15:34:52 +0800 Ian Kent <[email protected]> wrote:
This patch addresses bug 496766.
In which tracking system?
Please prefer to provide the full URL. I use the form:
Addresses http://....496766
I'm asleep today, that was never meant for the public post, it refers to a Redhat bug that has no additional information.
And there was no Signed-off-by, sorry, ;)
Ian