diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-17 16:12:03 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 09:20:15 +0100 |
commit | b7fe2e391ee7b711d6dfd6a694d60c4f21113cbb (patch) | |
tree | 4a5d141ffd4ae77dc6ce1a47b0bb8ce9d6d7c685 /fs/gfs2/inode.c | |
parent | [GFS2] Fix typo (diff) | |
download | linux-b7fe2e391ee7b711d6dfd6a694d60c4f21113cbb.tar.xz linux-b7fe2e391ee7b711d6dfd6a694d60c4f21113cbb.zip |
[GFS2] Fix page_mkwrite truncation race path
There was a bug in the truncation/invalidation race path for
->page_mkwrite for gfs2. It ought to return 0 so that the effect is the
same as if the page was truncated at any of the other points at which
the page_lock is dropped. This will result in the restart of the whole
page fault path. If it was due to a real truncation (as opposed to an
invalidate because we let a glock go) then the ->fault path will pick
that up when it gets called again.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions