autofs: fix pr_debug() message
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 10 Sep 2016 10:34:24 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:24 +0000 (20:34 +1000)
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 <kusumi.tomohiro@gmail.com>
Signed-off-by: Ian Kent <ikent@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/autofs4/root.c

index 1b0495a970b381c688efae6aaab83f6e4727ae93..d25c55f78173c6512fc9ec966beac2157b70b0fc 100644 (file)
@@ -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);
 
This page took 0.028762 seconds and 5 git commands to generate.