projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: encode_fh: return FILEID_INVALID if invalid fid_type
[cascardo/linux.git]
/
fs
/
ocfs2
/
export.c
diff --git
a/fs/ocfs2/export.c
b/fs/ocfs2/export.c
index
322216a
..
2965116
100644
(file)
--- a/
fs/ocfs2/export.c
+++ b/
fs/ocfs2/export.c
@@
-195,11
+195,11
@@
static int ocfs2_encode_fh(struct inode *inode, u32 *fh_in, int *max_len,
if (parent && (len < 6)) {
*max_len = 6;
- type =
255
;
+ type =
FILEID_INVALID
;
goto bail;
} else if (len < 3) {
*max_len = 3;
- type =
255
;
+ type =
FILEID_INVALID
;
goto bail;
}