summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/bmap.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-03-06 17:18:44 +0100
committerBob Peterson <rpeterso@redhat.com>2020-03-27 20:08:04 +0100
commitd580712a37272182cb63002878f3bb7bcebbb8bd (patch)
tree76dc0870c0369c38b55469a7643a7c2524d7a797 /fs/gfs2/bmap.c
parentgfs2: Switch to list_{first,last}_entry (diff)
downloadlinux-d580712a37272182cb63002878f3bb7bcebbb8bd.tar.xz
linux-d580712a37272182cb63002878f3bb7bcebbb8bd.zip
gfs2: eliminate gfs2_rsqa_alloc in favor of gfs2_qa_alloc
Before this patch, multiple callers called gfs2_rsqa_alloc to force the existence of a reservations structure and a quota data structure if needed. However, now the reservations are handled separately, so the quota data is only the quota data. So we eliminate the one in favor of just calling gfs2_qa_alloc directly. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r--fs/gfs2/bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index 2fe4457e1d01..4b9dbab50faf 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -2183,7 +2183,7 @@ int gfs2_setattr_size(struct inode *inode, u64 newsize)
inode_dio_wait(inode);
- ret = gfs2_rsqa_alloc(ip);
+ ret = gfs2_qa_alloc(ip);
if (ret)
goto out;