[XFS] remove dead SYNC_BDFLUSH case in xfs_sync_inodes
authorLachlan McIlroy <lachlan@sgi.com>
Fri, 14 Sep 2007 05:21:08 +0000 (15:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 05:40:53 +0000 (16:40 +1100)
commit44866d39282d0782b15fa4cb62aad937bf0a0897
tree12cb75bb94a86952106ee58c5e83709b93afddf7
parent9ef9dc69d4167276c04590d67ee55de8380bc1ad
[XFS] remove dead SYNC_BDFLUSH case in xfs_sync_inodes

A large part of xfs_sync_inodes is conditional on the SYNC_BDFLUSH which
is never passed to it. This patch removes it and adds an assert that
triggers in case some new code tries to pass SYNC_BDFLUSH to it.

SGI-PV: 970242
SGI-Modid: xfs-linux-melb:xfs-kern:29630a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_vfsops.c