OSDN Git Service

gfs2: Pass sdp to gfs2_adjust_quota
authorBob Peterson <rpeterso@redhat.com>
Wed, 31 May 2023 15:25:29 +0000 (10:25 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:17 +0000 (15:58 +0200)
commitee1768e467a9c0f272192da1ce0ea5a9caf98ccc
treede0becb484f240b82398138f9305eafc505baf8a
parent768963ab07e5219d7ae84a6e4ec61bc59bc4b81d
gfs2: Pass sdp to gfs2_adjust_quota

Before this change function gfs2_adjust_quota's first parameter was an
gfs2_inode pointer. But it always pointed to the quota inode. Here we
switch that to pass the superblock pointer, sdp, so it is easier to read
the code and understand that it's only dealing with the quota inode.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/quota.c