diff options
| author | Tim Wright <timw@splhi.com> | 2002-10-15 05:11:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-15 05:11:13 -0700 |
| commit | de1c3893d67450cc1f3822f84a3178ae24b9a859 (patch) | |
| tree | a007f1dd03448a41d7388f5ba6ffab37b2c5baa9 /include/linux/errqueue.h | |
| parent | 4c34d4558e668f406a5c7f1a867a99fea411d629 (diff) | |
[PATCH] Forward port of 2.4 fsync_buffers_list() fix.
there was a bug in fysnc_buffers_list() in 2.4 (fixed in 2.4.19) that
could cause the function to return without having written the current
contents of all the buffers.
Obviously, this could be bad for anybody relying on ordering using
O_SYNC or fsync(). If an I/O was already in flight for a particular bh
at the time of the call to fsync_buffers_list(), ll_rw_block() will not
initiate a new I/O even though the contents may have changed. It is
therefore necessary to wait before the call. Here's a patch against
2.5.42 that applies the same fix.
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
