[PATCH] autofs4: change may_umount* functions to boolean
[pandora-kernel.git] / fs / autofs4 / root.c
index dcd4802..26eb1f0 100644 (file)
@@ -699,7 +699,7 @@ static inline int autofs4_ask_umount(struct vfsmount *mnt, int __user *p)
 {
        int status = 0;
 
-       if (may_umount(mnt) == 0)
+       if (may_umount(mnt))
                status = 1;
 
        DPRINTK("returning %d", status);