mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-28 17:30:18 +00:00
Fix proc build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6202 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1570,6 +1570,7 @@ next:
|
||||
PRINT_WARNING("Device %s: static app tag is ignored for DIF "
|
||||
"mode 2", dev->virt_name);
|
||||
|
||||
#ifndef CONFIG_SCST_PROC
|
||||
if (virt_dev->dif_filename != NULL) {
|
||||
res = scst_create_dev_attr(dev, &vdev_dif_filename_attr);
|
||||
if (res != 0) {
|
||||
@@ -1579,6 +1580,7 @@ next:
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (virt_dev->zero_copy && virt_dev->o_direct_flag) {
|
||||
PRINT_ERROR("%s: combining zero_copy with o_direct is not"
|
||||
|
||||
Reference in New Issue
Block a user