Whamcloud - gitweb
e2fsck: Open the external journal in exclusive mode
authorTheodore Ts'o <tytso@mit.edu>
Sun, 26 Sep 2010 01:14:06 +0000 (21:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 30 Apr 2011 16:27:13 +0000 (12:27 -0400)
commit0173cbcf128f0b2b36034ea6d80ce68fb1d7dd8f
treef39c890156de1687e6109f9ba9faabbb2d4b859e
parent496a903f940f37b8a2345fd3e9cb1a6a6a5f6dff
e2fsck: Open the external journal in exclusive mode

This prevents accidentally replaying and resetting the journal while
it is mounted, due to an accidental attempt to run e2fsck on an LVM
snapshot of a file system with an external journal.

Addresses-Debian-Bug: #587531

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/journal.c