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>
Sun, 26 Sep 2010 01:14:06 +0000 (21:14 -0400)
commit8718359b4057bf2b998f4ac6125e33f20efe60cb
tree93698b3e93fb2a9d1a0f58a32f1fafd5b838159f
parent63feaa13ab1011b40d59011e6ffdc1a07d3423ac
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