diff options
author | Martin Brandenburg <martin@omnibond.com> | 2019-04-29 20:09:48 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2019-05-03 21:39:10 +0300 |
commit | 33713cd09ccdc1e01b10d0782ae60200d4989553 (patch) | |
tree | 00fcddbe2e98e1aa7d5cbff2794c08f1ce3903cb /fs/orangefs/super.c | |
parent | dd59a6475c4cf69afac2ade01ab732b7825a2a45 (diff) | |
download | linux-33713cd09ccdc1e01b10d0782ae60200d4989553.tar.xz |
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>
Diffstat (limited to 'fs/orangefs/super.c')
0 files changed, 0 insertions, 0 deletions