aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/namei.c
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2016-11-17 13:12:33 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2017-03-30 19:29:02 +0100
commit0ab44db1752bb96ae49726a386ead41b3298c5e9 (patch)
tree348f676c9ea6e3ef4971ac1fd33877773599b396 /fs/ext4/namei.c
parent2b1c4a606c0622c991920789d6ff00137ab041b6 (diff)
BUG HUNTING: Big pile of additional irqs_disabled() tests
Most of these do not trigger on rel10p0. Leads to the conclusion that something came along and crapped over the PMR registers. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'fs/ext4/namei.c')
-rw-r--r--fs/ext4/namei.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 6ad612c576fc..eefa176f4877 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -1572,6 +1572,8 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsi
struct ext4_dir_entry_2 *de;
struct buffer_head *bh;
+ BUG_ON(irqs_disabled());
+
if (ext4_encrypted_inode(dir)) {
int res = fscrypt_get_encryption_info(dir);