[PATCH] Btrfs: do not warn_on io_ctl->cur in io_ctl_map_page

2012-11-22 Thread Wang Sheng-Hui
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 --- fs/btrfs/free-space-cache.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-)

[PATCH] Btrfs: do not warn_on io_ctl-cur in io_ctl_map_page

2012-11-22 Thread Wang Sheng-Hui
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 shh...@gmail.com --- fs/btrfs/free-space-cache.c |1 - 1 files changed, 0 insertions(+),