X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=fs%2Ffhandle.c;h=999ff5c3cab0edacd585447132180d5c35554e3c;hb=1e5005979e45337dab9e2c2e4a75ebd71168c004;hp=cccdc874bb55df99eb10f89f33a7bcb1f92ddc99;hpb=3dbff0d5e8ec9e6d0834ea889d496bc724743dfd;p=karo-tx-linux.git diff --git a/fs/fhandle.c b/fs/fhandle.c index cccdc874bb55..999ff5c3cab0 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