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)
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>

No differences found