diff options
Diffstat (limited to 'fs/buffer.c')
| -rw-r--r-- | fs/buffer.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index c0909b2424d1..7bf62e0a60d7 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -1340,9 +1340,13 @@ void __bforget(struct buffer_head * buf) spin_unlock(&lru_list_lock); } -/* - * bread() reads a specified block and returns the buffer that contains - * it. It returns NULL if the block was unreadable. +/** + * bread() - reads a specified block and returns the bh + * @block: number of block + * @size: size (in bytes) to read + * + * Reads a specified block, and returns buffer head that + * contains it. It returns NULL if the block was unreadable. */ struct buffer_head * bread(kdev_t dev, int block, int size) { |
