xfs: remove xfs_flush_pages
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Nov 2012 11:53:56 +0000 (22:53 +1100)
committerBen Myers <bpm@sgi.com>
Wed, 14 Nov 2012 21:12:45 +0000 (15:12 -0600)
commit4bc1ea6b8ddd4f2bd78944fbe5a1042ac14b1f5f
tree8fb1419d5f7329afb431dbed481d441eb9d38c0c
parent95eacf0f71b7682a05b8242c49c68e8e4bb673e3
xfs: remove xfs_flush_pages

It is a complex wrapper around VFS functions, but there are VFS
functions that provide exactly the same functionality. Call the VFS
functions directly and remove the unnecessary indirection and
complexity.

We don't need to care about clearing the XFS_ITRUNCATED flag, as
that is done during .writepages. Hence is cleared by the VFS
writeback path if there is anything to write back during the flush.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Andrew Dahl <adahl@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_bmap.c
fs/xfs/xfs_fs_subr.c
fs/xfs/xfs_iops.c
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.h
This page took 0.041565 seconds and 5 git commands to generate.