Btrfs: do not warn_on io_ctl->cur in io_ctl_map_page
authorWang Sheng-Hui <shhuiw@gmail.com>
Fri, 23 Nov 2012 03:03:14 +0000 (03:03 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:06 +0000 (20:46 -0500)
commit071401258a580dec2a3e0c2700b7e76f3ed43320
tree7c648128bc1863f6034909a561b6055cc8772820
parent3f6bcfbd4149875662773eb40a62294cddf215d4
Btrfs: do not warn_on io_ctl->cur in io_ctl_map_page

io_ctl_map_page is called by many functions in free-space-cache.
In most scenarios, the ->cur is not null, e.g. io_ctl_add_entry.
I think we'd better remove the warn_on here.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/free-space-cache.c