aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-08-22 22:38:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:38:12 -0700
commita88cff7fcf8532decbbec25aaf0ba57e97d98227 (patch)
treed16f52b4836a184606b50dd720396adf60ed47e7 /include
parent681bf63d288eb4465d0d9ead0829a6cbf52f0666 (diff)
downloadhistory-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.h2
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);