commit | 33713cd09ccdc1e01b10d0782ae60200d4989553 | [log] [tgz] |
---|---|---|
author | Martin Brandenburg <martin@omnibond.com> | Mon Apr 29 17:09:48 2019 +0000 |
committer | Mike Marshall <hubcap@omnibond.com> | Fri May 03 14:39:10 2019 -0400 |
tree | 00fcddbe2e98e1aa7d5cbff2794c08f1ce3903cb | |
parent | dd59a6475c4cf69afac2ade01ab732b7825a2a45 [diff] |
orangefs: truncate before updating size Otherwise we race with orangefs_writepage/orangefs_writepages which and does not expect i_size < page_offset. Fixes xfstests generic/129. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>