[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1573788472-87426-1-git-send-email-yukuai3@huawei.com>
Date: Fri, 15 Nov 2019 11:27:49 +0800
From: yu kuai <yukuai3@...wei.com>
To: <gregkh@...uxfoundation.org>, <rafael@...nel.org>,
<viro@...iv.linux.org.uk>, <rostedt@...dmis.org>,
<oleg@...hat.com>, <mchehab+samsung@...nel.org>, <corbet@....net>,
<tytso@....edu>, <jmorris@...ei.org>
CC: <yukuai3@...wei.com>, <linux-kernel@...r.kernel.org>,
<linux-fsdevel@...r.kernel.org>, <zhengbin13@...wei.com>,
<yi.zhang@...wei.com>, <chenxiang66@...ilicon.com>,
<xiexiuqi@...wei.com>
Subject: [PATCH 0/3] fix potential infinite loop in debugfs_remove_recursive
The first patch add a new enum type for 'dentry_d_lock_class'.The second
patch use the new enum type in 'simple_empty' to avoid confusion for
lockdep. The last patch fix potential infinite loop in
debugfs_remove_recursive by using 'simple_empty' instead of 'list_empty'.
yu kuai (3):
dcache: add a new enum type for 'dentry_d_lock_class'
fs/libfs.c: use 'spin_lock_nested' when taking 'd_lock' for dentry in
simple_empty
debugfs: fix potential infinite loop in debugfs_remove_recursive
fs/debugfs/inode.c | 7 +++++--
fs/libfs.c | 4 ++--
include/linux/dcache.h | 3 ++-
3 files changed, 9 insertions(+), 5 deletions(-)
--
2.7.4
Powered by blists - more mailing lists