]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c73d26c4c194c084f02c5c0d8d9fb066899397e
treebe0361f660d94102ee403c4ce45dc5002d533bf3
parent760a0232138daae31b13c22b1058d278b7ac456f
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