target: handle empty string writes in sysfs
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 27 Jan 2012 12:50:55 +0000 (15:50 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 7 Feb 2012 06:48:40 +0000 (06:48 +0000)
commit3011684c0b0b77b0f88113ef1c15b18befc6734a
treefcac41c9b6cb8de95214e74d0f1c1b84aa979655
parentc3bc93da24c8f315d9ece741f6e6414a38879ec6
target: handle empty string writes in sysfs

These are root only and we're not likely to hit the problem in practise,
but it makes the static checkers happy.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c