From: Trond Myklebust Date: Fri, 16 Mar 2007 21:38:28 +0000 (-0800) Subject: [PATCH] nfs: nfs_getattr() can't call nfs_sync_mapping_range() for non-regular files X-Git-Tag: v2.6.21-rc5~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=634707388baa440d9c9d082cfc4c950500c8952b;p=pandora-kernel.git [PATCH] nfs: nfs_getattr() can't call nfs_sync_mapping_range() for non-regular files Looks like we need a check in nfs_getattr() for a regular file. It makes no sense to call nfs_sync_mapping_range() on anything else. I think that should fix your problem: it will stop the NFS client from interfering with dirty pages on that inode's mapping. Signed-off-by: Trond Myklebust Acked-by: Olof Johansson Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed