diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2020-03-06 10:32:35 -0600 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2020-03-27 14:08:04 -0500 |
commit | 1595548fe72ca834abe75fb3df47e300a087d563 (patch) | |
tree | 189b7ac3b1e433c77d7e685855b9420bccd2f7e3 /fs/gfs2/super.c | |
parent | 2fba46a04c383f91e7fe837d43bf1ab33ce32b6a (diff) | |
download | linux-stable-1595548fe72ca834abe75fb3df47e300a087d563.tar.gz linux-stable-1595548fe72ca834abe75fb3df47e300a087d563.tar.bz2 linux-stable-1595548fe72ca834abe75fb3df47e300a087d563.zip |
gfs2: Split gfs2_rsqa_delete into gfs2_rs_delete and gfs2_qa_put
Keeping reservations and quotas separate helps reviewing the code.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 68d934fa0f9f..37fc41632aa2 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -1403,7 +1403,8 @@ out: truncate_inode_pages_final(&inode->i_data); if (ip->i_qadata) gfs2_assert_warn(sdp, ip->i_qadata->qa_ref == 0); - gfs2_rsqa_delete(ip, NULL); + gfs2_rs_delete(ip, NULL); + gfs2_qa_put(ip); gfs2_ordered_del_inode(ip); clear_inode(inode); gfs2_dir_hash_inval(ip); |