summaryrefslogtreecommitdiff
path: root/sound/core/rawmidi.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-03-06 17:13:04 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-03 06:23:26 +0200
commita23f00416aaeb2c5b71fd954917d073c8f068c06 (patch)
tree18a45f2eda25a30ac1273b2fc0105baef4727f0f /sound/core/rawmidi.c
parent48b22ac589985f10153afe09624950bb91aeb99a (diff)
btrfs: remove WARN_ON in log_dir_items
commit 2cc8334270e281815c3850c3adea363c51f21e0d upstream. When Filipe added the recursive directory logging stuff in 2f2ff0ee5e430 ("Btrfs: fix metadata inconsistencies after directory fsync") he specifically didn't take the directory i_mutex for the children directories that we need to log because of lockdep. This is generally fine, but can lead to this WARN_ON() tripping if we happen to run delayed deletion's in between our first search and our second search of dir_item/dir_indexes for this directory. We expect this to happen, so the WARN_ON() isn't necessary. Drop the WARN_ON() and add a comment so we know why this case can happen. CC: stable@vger.kernel.org # 4.4+ Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/core/rawmidi.c')
0 files changed, 0 insertions, 0 deletions