diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-11-12 06:53:56 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-14 16:12:45 -0500 |
commit | 4bc1ea6b8ddd4f2bd78944fbe5a1042ac14b1f5f (patch) | |
tree | 8fb1419d5f7329afb431dbed481d441eb9d38c0c /fs/buffer.c | |
parent | 95eacf0f71b7682a05b8242c49c68e8e4bb673e3 (diff) |
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>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions