diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2015-08-07 00:46:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-08-07 03:39:40 +0200 |
commit | 209f7512d007980fd111a74a064d70a3656079cf (patch) | |
tree | 0b12e03001248c15a79286d66caa295c33d2dbd7 /arch/arc/plat-axs10x | |
parent | fs, file table: reinit files_stat.max_files after deferred memory initialisation (diff) | |
download | linux-209f7512d007980fd111a74a064d70a3656079cf.tar.xz linux-209f7512d007980fd111a74a064d70a3656079cf.zip |
ocfs2: fix BUG in ocfs2_downconvert_thread_do_work()
The "BUG_ON(list_empty(&osb->blocked_lock_list))" in
ocfs2_downconvert_thread_do_work can be triggered in the following case:
ocfs2dc has firstly saved osb->blocked_lock_count to local varibale
processed, and then processes the dentry lockres. During the dentry
put, it calls iput and then deletes rw, inode and open lockres from
blocked list in ocfs2_mark_lockres_freeing. And this causes the
variable `processed' to not reflect the number of blocked lockres to be
processed, which triggers the BUG.
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arc/plat-axs10x')
0 files changed, 0 insertions, 0 deletions