X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fautofs%2Fdirhash.c;h=bf8c8af980044462ece05e7fc9772d0efb9d6c13;hb=9b1084b8f99a6b5e97c0c9bc1b4455db4fa51a07;hp=5ccfcf26310d7ac6c000541300bedaae83dd267d;hpb=3874b98c655b9490bea1cf9c7697d5dc5338376f;p=linux-2.6-omap-h63xx.git diff --git a/fs/autofs/dirhash.c b/fs/autofs/dirhash.c index 5ccfcf26310..bf8c8af9800 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! */ @@ -246,5 +246,4 @@ void autofs_hash_nuke(struct autofs_sb_info *sbi) kfree(ent); } } - shrink_dcache_sb(sbi->sb); }