]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: Add sanity check for attempts to start handle during umount
authorTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
commitf29821acae7a1103b0b75cf386e86fc71ab5523f
tree669b8108fbe2708dff06dce25be6d70f68c553c4
parentdb44e44513f5ef2a925047fbd247fde09378efe1
jbd2: Add sanity check for attempts to start handle during umount

An attempt to modify the file system during the call to
jbd2_destroy_journal() can lead to a system lockup.  So add some
checking to make it much more obvious when this happens to and to
determine where the offending code is located.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/checkpoint.c
fs/jbd2/transaction.c