target: Remove unneeded param pr_aptpl_buf_len to write_aptpl_to_file()
authorAndy Grover <agrover@redhat.com>
Thu, 16 May 2013 17:41:00 +0000 (10:41 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 14 Jun 2013 07:04:50 +0000 (00:04 -0700)
commit4dee96fb366ec6b5b324c8d4fe9e04244cb32f5d
treebe0361f660d94102ee403c4ce45dc5002d533bf3
parent4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1
target: Remove unneeded param pr_aptpl_buf_len to write_aptpl_to_file()

As mentioned in the comments in update_and_write_aptpl,
write_aptpl_to_file() calls strlen() on the buffer, and the length was
always being passed as zero.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pr.c