Fix compile error due to congestion_wait() changes
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 11 Jul 2009 14:06:54 +0000 (10:06 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 11 Jul 2009 18:22:26 +0000 (11:22 -0700)
commit373c0a7ed3ea3b34efedb7c83ffb521adff7c894
tree1fcc8cdcf8deab3ed1d16ff3c0f2dfa38bcf7915
parentf00caa76297a534e30c3ec85382fbc3fd0dcbc69
Fix compile error due to congestion_wait() changes

Move the definition of BLK_RW_ASYNC/BLK_RW_SYNC into linux/backing-dev.h
so that it is available to all callers of set/clear_bdi_congested().

This replaces commit 097041e576ee3a50d92dd643ee8ca65bf6a62e21 ("fuse:
Fix build error"), which will be reverted.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/backing-dev.h
include/linux/blkdev.h