gfs2: setattr_chown: Add missing initialization
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 21 Oct 2023 18:51:13 +0000 (20:51 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 23 Oct 2023 09:47:13 +0000 (11:47 +0200)
commit2d8d7990619878a848b1d916c2f936d3012ee17d
treeb660fdbb484dd8b4a7d581323e30c232e2cd8278
parent0abd1557e21c617bd13fc18f7725fc6363c05913
gfs2: setattr_chown: Add missing initialization

Add a missing initialization of variable ap in setattr_chown().
Without, chown() may be able to bypass quotas.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/inode.c