diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2009-05-12 22:22:37 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-05-12 22:22:37 +0200 |
commit | 8fb0e342481c4d80040670fec915f0b9c7c6499a (patch) | |
tree | 6574f483e45cb24ebf9eb2121b67b20a75a9f180 /fs/efs | |
parent | ext4: Properly initialize the buffer_head state (diff) | |
download | linux-8fb0e342481c4d80040670fec915f0b9c7c6499a.tar.xz linux-8fb0e342481c4d80040670fec915f0b9c7c6499a.zip |
vfs: Add BUG_ON for delayed and unwritten flags in submit_bh()
The BH_Delay and BH_Unwritten flags should never leak out to
submit_bh(). So add some BUG_ON() checks to submit_bh so we can get a
stack trace and determine how and why this might have happened.
(Note that only XFS and ext4 use these buffer head flags, and XFS does
not use submit_bh(). So this patch should only modify behavior for
ext4.)
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: linux-fsdevel@vger.kernel.org
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions