Miao Xie 573bfb72f7 Btrfs: fix possible empty list access when flushing the delalloc inodes
We didn't have a lock to protect the access to the delalloc inodes list, that is
we might access a empty delalloc inodes list if someone start flushing delalloc
inodes because the delalloc inodes were moved into a other list temporarily.
Fix it by wrapping the access with a lock.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
2014-03-10 15:17:29 -04:00
..
2014-01-28 13:19:50 -08:00
2013-11-11 22:03:19 -05:00
2013-03-14 14:57:10 -04:00
2013-02-01 14:24:23 -05:00
2014-03-10 15:16:51 -04:00
2014-03-10 15:17:19 -04:00
2014-03-10 15:17:15 -04:00
2014-03-10 15:15:51 -04:00
2014-03-10 15:15:51 -04:00
2014-01-29 07:06:27 -08:00
2014-01-29 07:06:27 -08:00