From b960fa03cf2bd5ccd37ebe5cc4d0b46d69e4519a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 29 Apr 2002 23:54:28 -0700 Subject: [PATCH] cleanup sync_buffers() Renames sync_buffers() to sync_blockdev() and removes its (never used) second argument. Removes fsync_no_super() in favour of direct calls to sync_blockdev(). --- include/linux/buffer_head.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/buffer_head.h') diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index 59fe771f9eb8..f9158122b3f7 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h @@ -161,7 +161,7 @@ void set_buffer_async_io(struct buffer_head *bh); void invalidate_inode_buffers(struct inode *); void invalidate_bdev(struct block_device *, int); void __invalidate_buffers(kdev_t dev, int); -int sync_buffers(struct block_device *, int); +int sync_blockdev(struct block_device *bdev); void __wait_on_buffer(struct buffer_head *); void sleep_on_buffer(struct buffer_head *bh); void wake_up_buffer(struct buffer_head *bh); -- cgit v1.2.3