diff options
author | Andrew Morton <akpm@osdl.org> | 2004-08-22 22:38:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 22:38:12 -0700 |
commit | a88cff7fcf8532decbbec25aaf0ba57e97d98227 (patch) | |
tree | d16f52b4836a184606b50dd720396adf60ed47e7 /include | |
parent | 681bf63d288eb4465d0d9ead0829a6cbf52f0666 (diff) | |
download | history-a88cff7fcf8532decbbec25aaf0ba57e97d98227.tar.gz |
[PATCH] make sync_dirty_buffer() return something useful
Make sync_dirty_buffer() return the result of its syncing.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/buffer_head.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index b94bd82e60990a..ef849b7a1f6d8f 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h @@ -174,7 +174,7 @@ void free_buffer_head(struct buffer_head * bh); void FASTCALL(unlock_buffer(struct buffer_head *bh)); void FASTCALL(__lock_buffer(struct buffer_head *bh)); void ll_rw_block(int, int, struct buffer_head * bh[]); -void sync_dirty_buffer(struct buffer_head *bh); +int sync_dirty_buffer(struct buffer_head *bh); int submit_bh(int, struct buffer_head *); void write_boundary_block(struct block_device *bdev, sector_t bblock, unsigned blocksize); |