Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cdcfde62 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Display nobarrier option in /proc/mounts



Since the default is barriers on, this only displays the
nobarrier option when that is active.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent f25934c5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1336,6 +1336,9 @@ static int gfs2_show_options(struct seq_file *s, struct vfsmount *mnt)
		}
		seq_printf(s, ",errors=%s", state);
	}
	if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags))
		seq_printf(s, ",nobarrier");

	return 0;
}