writeback: remove .nonblocking and .encountered_congestion
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 6 May 2011 03:10:38 +0000 (21:10 -0600)
committerWu Fengguang <fengguang.wu@intel.com>
Wed, 8 Jun 2011 00:25:23 +0000 (08:25 +0800)
commit846d5a091b0506b75489577cde27f39b37a192a4
tree739bd1e28f86d4620b55401d0cc4b5ab4e44eb91
parentb7a2441f9966fe3e1be960a876ab52e6029ea005
writeback: remove .nonblocking and .encountered_congestion

Remove two unused struct writeback_control fields:

.encountered_congestion (completely unused)
.nonblocking (never set, checked/showed in XFS,NFS/btrfs)

The .for_background check in nfs_write_inode() is also removed btw,
as .for_background implies WB_SYNC_NONE.

Reviewed-by: Jan Kara <jack@suse.cz>
Proposed-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
fs/nfs/write.c
fs/xfs/linux-2.6/xfs_aops.c
include/linux/writeback.h
include/trace/events/btrfs.h