From 846f2fcd77850ef8f0aab46df9cadd5c35a5fef0 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 18 Jan 2006 17:43:51 -0800 Subject: [PATCH] [PATCH] knfsd: Provide missing NFSv2 part of patch for checking vfs_getattr. A recent patch which checked the return status of vfs_getattr in nfsd, completely missed the nfsproc.c (NFSv2) part. Here is it. This patch moved the call to vfs_getattr from the xdr encoding (at which point it is too late to return an error) to the call handling. This means several calls to vfs_getattr are needed in nfsproc.c. Many are encapsulated in nfsd_return_attrs and nfsd_return_dirop. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed