projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
mm
/
cleancache.c
diff --git
a/mm/cleancache.c
b/mm/cleancache.c
index
32e6f41
..
d76ba74
100644
(file)
--- a/
mm/cleancache.c
+++ b/
mm/cleancache.c
@@
-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;