From: Christoph Hellwig Date: Thu, 28 Jun 2007 06:46:47 +0000 (+1000) Subject: [XFS] XFS should not be looking at filp reference counts X-Git-Tag: v2.6.23-rc1~1056^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbf3ce8d8ec508f6bd99b36de034d2ae3e1ae7ac;p=pandora-kernel.git [XFS] XFS should not be looking at filp reference counts A check for file_count is always a bad idea. Linux has the ->release method to deal with cleanups on last close and ->flush is only for the very rare case where we want to perform an operation on every drop of a reference to a file struct. This patch gets rid of vop_close and surrounding code in favour of simply doing the page flushing from ->release. SGI-PV: 966562 SGI-Modid: xfs-linux-melb:xfs-kern:28952a Signed-off-by: Christoph Hellwig Signed-off-by: David Chinner Signed-off-by: Tim Shimmin --- Reading git-diff-tree failed