[PATCH] fs/ntfs: Conversion to generic boolean
[deliverable/linux.git] / fs / autofs / dirhash.c
index 5ccfcf26310d7ac6c000541300bedaae83dd267d..3fded389d06b9fe1e1d8df20f08ac541b87f9bb1 100644 (file)
@@ -92,7 +92,7 @@ struct autofs_dir_ent *autofs_expire(struct super_block *sb,
                        ;
                dput(dentry);
 
-               if ( may_umount(mnt) == 0 ) {
+               if ( may_umount(mnt) ) {
                        mntput(mnt);
                        DPRINTK(("autofs: signaling expire on %s\n", ent->name));
                        return ent; /* Expirable! */
This page took 0.023861 seconds and 5 git commands to generate.