author: Namjae Jeon <linkinjeon@gmail.com> 2012-08-29 10:10:10 -0400
committer: J. Bruce Fields <bfields@redhat.com> 2012-11-07 19:22:30 -0500
commit: 216b6cbdcbd86b1db0754d58886b466ae31f5a63
parent: 6f0c0580b70c89094b3422ba81118c7b959c7556
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/fhandle.c b/fs/fhandle.c
index f775bfdd6e4a..26f12b95702a 100644
--- a/fs/fhandle.c
+++ b/fs/fhandle.c
@@ -52,7 +52,7 @@ static long do_sys_name_to_handle(struct path *path,
handle_bytes = handle_dwords * sizeof(u32);
handle->handle_bytes = handle_bytes;
if ((handle->handle_bytes > f_handle.handle_bytes) ||
- (retval == 255) || (retval == -ENOSPC)) {
+ (retval == FILEID_INVALID) || (retval == -ENOSPC)) {
/* As per old exportfs_encode_fh documentation
* we could return ENOSPC to indicate overflow
* But file system returned 255 always. So handle