From: NeilBrown Date: Mon, 27 Mar 2006 09:15:08 +0000 (-0800) Subject: [PATCH] knfsd: Unexport cache_fresh and fix a small race X-Git-Tag: v2.6.17-rc1~427 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd0cb1af3be2729cc1f574681dfba01fcf458d9;p=pandora-kernel.git [PATCH] knfsd: Unexport cache_fresh and fix a small race Cache_fresh is now only used in cache.c, so unexport it. Part of cache_fresh (setting CACHE_VALID) should really be done under the lock, while part (calling cache_revisit_request etc) must be done outside the lock. So we split it up appropriately. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed