aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/rgrp.c
diff options
context:
space:
mode:
authorGravatar Bob Peterson <rpeterso@redhat.com> 2020-10-28 12:03:23 -0500
committerGravatar Andreas Gruenbacher <agruenba@redhat.com> 2020-10-29 22:16:46 +0100
commit7e5b92669904c1de13070ab6d8b788eab9d0cf1f (patch)
tree1deb296c10dd721390c1d05fbbe692f897ee9847 /fs/gfs2/rgrp.c
parentgfs2: Split up gfs2_meta_sync into inode and rgrp versions (diff)
downloadlinux-7e5b92669904c1de13070ab6d8b788eab9d0cf1f.tar.gz
linux-7e5b92669904c1de13070ab6d8b788eab9d0cf1f.tar.bz2
linux-7e5b92669904c1de13070ab6d8b788eab9d0cf1f.zip
gfs2: don't initialize statfs_change inodes in spectator mode
Before commit 97fd734ba17e, the local statfs_changeX inode was never initialized for spectator mounts. However, it still checks for spectator mounts when unmounting everything. There's no good reason to lookup the statfs_changeX files because spectators cannot perform recovery. It still, however, needs the master statfs file for statfs calls. This patch adds the check for spectator mounts to init_statfs. Fixes: 97fd734ba17e ("gfs2: lookup local statfs inodes prior to journal recovery") Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
0 files changed, 0 insertions, 0 deletions