]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc991daf035bf80a0e2c22dad7ea5e9b78c28a516
tree7c648128bc1863f6034909a561b6055cc8772820
parentd5adbcc91eeee163c16ab0f790d10820fc25d9e4
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