diff options
author | Bob Peterson <rpeterso@redhat.com> | 2012-02-17 14:15:52 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2012-02-28 09:48:30 (GMT) |
commit | 9e73f571ea3afffca78c1f54128d57796e27532f (patch) | |
tree | 65210fa95c01ca3c6b44a92bea2068887e6a7fcf /.gitignore | |
parent | 718b97bd6b03445be53098e3c8f896aeebc304aa (diff) | |
download | linux-9e73f571ea3afffca78c1f54128d57796e27532f.tar.xz |
GFS2: Ensure rindex is uptodate for fallocate
This patch fixes a problem whereby gfs2_grow was failing and causing GFS2
to assert. The problem was that when GFS2's fallocate operation tried to
acquire an "allocation" it made sure the rindex was up to date, and if not,
it called gfs2_rindex_update. However, if the file being fallocated was
the rindex itself, it was already locked at that point. By calling
gfs2_rindex_update at an earlier point in time, we bring rindex up to date
and thereby avoid trying to lock it when the "allocation" is acquired.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions