Al Viro
64b4e2526d
ocfs2: _really_ sync the right range
...
"ocfs2 syncs the wrong range" had been broken; prior to it the
code was doing the wrong thing in case of O_APPEND, all right,
but _after_ it we were syncing the wrong range in 100% cases.
*ppos, aka iocb->ki_pos is incremented prior to that point,
so we are always doing sync on the area _after_ the one we'd
written to.
Spotted by Joseph Qi <joseph.qi@huawei.com> back in January;
unfortunately, I'd missed his mail back then ;-/
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2015-04-09 07:18:48 -04:00
..
2015-02-10 14:30:29 -08:00
2015-02-10 14:30:30 -08:00
2015-01-20 14:03:05 -07:00
2015-02-10 14:30:28 -08:00
2014-01-25 23:58:21 -05:00
2015-02-10 14:30:29 -08:00
2014-12-18 19:08:11 -08:00
2015-02-16 17:56:05 -08:00
2014-04-03 16:20:53 -07:00
2012-05-29 23:28:35 -04:00
2009-06-03 19:15:36 -07:00
2014-04-03 16:20:56 -07:00
2009-09-04 16:07:48 -07:00
2014-11-19 13:01:20 -05:00
2014-04-03 16:20:55 -07:00
2015-02-10 14:30:29 -08:00
2013-06-29 12:57:02 +04:00
2015-02-10 14:30:30 -08:00
2014-04-03 16:20:55 -07:00
2013-02-26 02:46:10 -05:00
2007-10-22 08:13:21 -07:00
2013-09-11 15:56:53 -07:00
2011-07-25 14:58:15 -07:00
2015-04-09 07:18:48 -04:00
2015-02-16 17:56:04 -08:00
2011-02-23 21:17:39 +08:00
2008-04-18 08:56:04 -07:00
2015-02-16 17:56:04 -08:00
2015-02-16 17:56:05 -08:00
2014-08-29 16:28:16 -07:00
2010-03-02 14:10:20 -08:00
2015-02-16 17:56:05 -08:00
2015-02-16 17:56:04 -08:00
2011-01-16 21:22:40 +00:00
2014-02-06 13:48:51 -08:00
2014-02-06 13:48:51 -08:00
2014-04-03 16:20:56 -07:00
2008-10-13 13:57:57 -07:00
2014-01-21 16:19:41 -08:00
2015-02-10 14:30:30 -08:00
2014-12-10 17:41:04 -08:00
2011-05-25 15:17:12 +08:00
2015-02-16 17:56:05 -08:00
2015-02-16 17:56:04 -08:00
2008-02-03 17:33:42 +02:00
2015-03-12 18:46:07 -07:00
2011-05-25 15:17:08 +08:00
2009-09-22 20:09:28 -07:00
2010-02-26 15:41:18 -08:00
2014-06-23 16:47:45 -07:00
2015-03-12 18:46:07 -07:00
2014-09-17 11:59:12 +02:00
2015-02-10 16:45:56 -08:00
2015-01-21 19:21:30 +01:00
2015-02-10 14:30:29 -08:00
2013-08-13 17:57:49 -07:00
2015-02-10 14:30:29 -08:00
2011-03-31 11:26:23 -03:00
2014-06-04 16:53:54 -07:00
2008-01-25 15:04:24 -08:00
2014-12-10 17:41:03 -08:00
2008-04-18 08:56:03 -07:00
2014-01-21 16:19:41 -08:00
2014-10-09 22:25:46 -04:00
2014-06-04 16:53:53 -07:00
2014-01-21 16:19:41 -08:00
2014-04-03 16:20:57 -07:00
2014-04-03 16:20:56 -07:00
2015-02-16 17:56:05 -08:00
2011-10-31 17:30:54 -07:00
2013-02-26 02:46:12 -05:00
2012-05-29 23:28:40 -04:00
2014-04-03 16:20:57 -07:00
2014-06-04 16:53:53 -07:00
2009-09-04 16:07:50 -07:00
2015-02-10 14:30:29 -08:00
2014-01-25 23:58:21 -05:00