gfs2: Re-enable fallocate for the rindex
authorAndrew Price <anprice@redhat.com>
Wed, 5 Apr 2017 15:45:26 +0000 (11:45 -0400)
committerBob Peterson <rpeterso@redhat.com>
Wed, 5 Apr 2017 15:45:26 +0000 (11:45 -0400)
commitd4d7fc12b642a16732adeacefdaebe684bcb2218
tree29f04bad0806d11aff8b0eadf327f34c22e633a6
parentd4da31986c5da14277b3ecc479f1b0682756b54c
gfs2: Re-enable fallocate for the rindex

Commit 86066914edff2316cbed63aac8a87d5001441a16 "gfs2: Don't support
fallocate on jdata files" removed the ability of gfs2_grow to reserve
space at the end of the rindex, which could prevent a second gfs2_grow
from succeeding if the fs is full. Allow fallocate to work on the rindex
once again.

Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/file.c