From 6dd6aca59cde852cba9eaa3c1de2c723670e99ca Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Sat, 10 Sep 2016 20:34:24 +1000 Subject: [PATCH] autofs: fix pr_debug() message 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/20160812024836.12352.74628.stgit@pluto.themaw.net Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent Signed-off-by: Andrew Morton --- fs/autofs4/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index 1b0495a970b3..d25c55f78173 100644 --- 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); -- 2.34.1