]> Pileus Git - ~andy/linux/blobdiff - mm/cleancache.c
ARM: OMAP4+: Remove the un-necessary cache flush from hotplug code
[~andy/linux] / mm / cleancache.c
index 32e6f4136fa2297e13a6ac51444d50c18b78e9a3..d76ba74be2d04dea9bcc2828f42e1ce10be6ad0e 100644 (file)
@@ -89,7 +89,7 @@ static int cleancache_get_key(struct inode *inode,
                fhfn = sb->s_export_op->encode_fh;
                if  (fhfn) {
                        len = (*fhfn)(inode, &key->u.fh[0], &maxlen, NULL);
-                       if (len <= 0 || len == 255)
+                       if (len <= FILEID_ROOT || len == FILEID_INVALID)
                                return -1;
                        if (maxlen > CLEANCACHE_KEY_MAX)
                                return -1;