parent d75f2b9f5da71667aba7e97a962c49f1e17aa4ca author Al Viro 1137635026 -0800 committer Linus Torvalds 1137640827 -0800 [PATCH] nfsd4_truncate() bogus return value -EINVAL (in host order, no less) is not a good thing to return to client. nfsd4_truncate() returns it in one case and its callers expect nfs_.... from it. AFAICS, it should be nfserr_inval Signed-off-by: Al Viro Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Ù$Ôž”!x