projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf72eda
)
autofs: fix pr_debug() message
author
Tomohiro Kusumi
<
[email protected]
>
Tue, 11 Oct 2016 20:52:59 +0000
(13:52 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 11 Oct 2016 22:06:31 +0000
(15:06 -0700)
This isn't a return value, so change the message to indicate the status is
the result of may_umount().
(or locate pr_debug() after put_user() with the same message)
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Tomohiro Kusumi <
[email protected]
>
Signed-off-by: Ian Kent <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/autofs4/root.c
patch
|
blob
|
history
diff --git
a/fs/autofs4/root.c
b/fs/autofs4/root.c
index 2eebeae75288da876736683d99de17508d4e97ef..a11f7317487773617dd585197e7482f5e22a3045 100644
(file)
--- a/
fs/autofs4/root.c
+++ b/
fs/autofs4/root.c
@@
-840,7
+840,7
@@
static inline int autofs4_ask_umount(struct vfsmount *mnt, int __user *p)
if (may_umount(mnt))
status = 1;
- pr_debug("
returning
%d\n", status);
+ pr_debug("
may umount
%d\n", status);
status = put_user(status, p);