diff options
Diffstat (limited to 'fs/buffer.c')
| -rw-r--r-- | fs/buffer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 3ebccf4aa7e3..ddfdd2c80bf9 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
| @@ -627,8 +627,7 @@ repeat: | |||
| 627 | } | 627 | } |
| 628 | 628 | ||
| 629 | /** | 629 | /** |
| 630 | * sync_mapping_buffers - write out and wait upon a mapping's "associated" | 630 | * sync_mapping_buffers - write out & wait upon a mapping's "associated" buffers |
| 631 | * buffers | ||
| 632 | * @mapping: the mapping which wants those buffers written | 631 | * @mapping: the mapping which wants those buffers written |
| 633 | * | 632 | * |
| 634 | * Starts I/O against the buffers at mapping->private_list, and waits upon | 633 | * Starts I/O against the buffers at mapping->private_list, and waits upon |
| @@ -836,7 +835,7 @@ static int fsync_buffers_list(spinlock_t *lock, struct list_head *list) | |||
| 836 | smp_mb(); | 835 | smp_mb(); |
| 837 | if (buffer_dirty(bh)) { | 836 | if (buffer_dirty(bh)) { |
| 838 | list_add(&bh->b_assoc_buffers, | 837 | list_add(&bh->b_assoc_buffers, |
| 839 | &bh->b_assoc_map->private_list); | 838 | &mapping->private_list); |
| 840 | bh->b_assoc_map = mapping; | 839 | bh->b_assoc_map = mapping; |
| 841 | } | 840 | } |
| 842 | spin_unlock(lock); | 841 | spin_unlock(lock); |
