X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fautofs%2Fdirhash.c;h=3fded389d06b9fe1e1d8df20f08ac541b87f9bb1;hb=4d1dabdb52ee49f24cf874b6af2cd2c9efd9444a;hp=5ccfcf26310d7ac6c000541300bedaae83dd267d;hpb=9fe66dfd8846706ff11ed7990d06c92644973bd8;p=linux-2.6 diff --git a/fs/autofs/dirhash.c b/fs/autofs/dirhash.c index 5ccfcf2631..3fded389d0 100644 --- a/fs/autofs/dirhash.c +++ b/fs/autofs/dirhash.c @@ -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! */