projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc43f75
)
autofs4: fix incorrect return in autofs4_mount_busy()
author
Ian Kent
<raven@themaw.net>
Thu, 30 Apr 2009 22:08:09 +0000
(15:08 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 2 May 2009 22:36:09 +0000
(15:36 -0700)
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>
fs/autofs4/expire.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/autofs4/expire.c
b/fs/autofs4/expire.c
index 75f7ddacf7d6d0575577e6172185fdc32d5f12ee..3077d8f16523010a5aaaf90d017900bd723aa12a 100644
(file)
--- 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 */