gfs2: remove dead code for quota writes
authorBob Peterson <rpeterso@redhat.com>
Wed, 31 May 2023 15:08:49 +0000 (10:08 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:17 +0000 (15:58 +0200)
commit768963ab07e5219d7ae84a6e4ec61bc59bc4b81d
treee8185dc2053f06c2b68337dbeaa5f1050dc9b6f1
parenteef46ab713f78591fe2cb20f5e90d9a8fdbddd59
gfs2: remove dead code for quota writes

Since patch 845802b112ee function gfs2_write_buf_to_page checks if the
target inode is jdata or ordered. This function only operates on the
system quota file, which is always jdata, so the check for jdata is
useless. This patch removes it.

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