diff options
Diffstat (limited to 'fs/autofs4/root.c')
-rw-r--r-- | fs/autofs4/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index dcd4802a5d5f..26eb1f024866 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c | |||
@@ -699,7 +699,7 @@ static inline int autofs4_ask_umount(struct vfsmount *mnt, int __user *p) | |||
699 | { | 699 | { |
700 | int status = 0; | 700 | int status = 0; |
701 | 701 | ||
702 | if (may_umount(mnt) == 0) | 702 | if (may_umount(mnt)) |
703 | status = 1; | 703 | status = 1; |
704 | 704 | ||
705 | DPRINTK("returning %d", status); | 705 | DPRINTK("returning %d", status); |