summaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-06-25 20:29:44 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2020-07-03 12:05:35 +0200
commit541656d3a5136ae830d604e237f29f406d42c592 (patch)
tree85c9822b2547cf43ccad6819e0a2a33e359b90e5 /fs/hfs
parentgfs2: eliminate GIF_ORDERED in favor of list_empty (diff)
downloadlinux-541656d3a5136ae830d604e237f29f406d42c592.tar.xz
linux-541656d3a5136ae830d604e237f29f406d42c592.zip
gfs2: freeze should work on read-only mounts
Before this patch, function freeze_go_sync, called when promoting the freeze glock, was testing for the SDF_JOURNAL_LIVE superblock flag. That's only set for read-write mounts. Read-only mounts don't use a journal, so the bit is never set, so the freeze never happened. This patch removes the check for SDF_JOURNAL_LIVE for freeze requests but still checks it when deciding whether to flush a journal. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions