diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-06-28 08:46:47 +0200 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-07-14 07:37:37 +0200 |
commit | fbf3ce8d8ec508f6bd99b36de034d2ae3e1ae7ac (patch) | |
tree | 5b10e8948c422b85f7e19da711d2b4d5c9b5e244 /fs/xfs/xfs_bmap.c | |
parent | [XFS] Use is_power_of_2 instead of open coding checks (diff) | |
download | linux-fbf3ce8d8ec508f6bd99b36de034d2ae3e1ae7ac.tar.xz linux-fbf3ce8d8ec508f6bd99b36de034d2ae3e1ae7ac.zip |
[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 <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
0 files changed, 0 insertions, 0 deletions