Hi, you are back.

> I think for your patch, you want to include open_iscsi_compat.h in it.

I included open_iscsi_compat.h and created a patch. Please check it.

I have a quetion about creating a patch agaist files in sub-directory.
I used "git diff" to output the patch, but each hunk of outputted
patch includes "kernel/" sub-directory.

e.g
diff --git a/kernel/libiscsi.c b/kernel/libiscsi.c
index 0b810b6..6ffb49c 100644
--- a/kernel/libiscsi.c
+++ b/kernel/libiscsi.c

However, "kernel/" sub-directory in the compat patch will prevent you
from making and your current compat patch is actually
does't have "kernel/" sub-directory.

e.g
diff --git a/libiscsi.c b/libiscsi.c
index 149d5eb..467abbf 100644
--- a/libiscsi.c
+++ b/libiscsi.c

How do I make a patch without the sub-directory?
Since I didn't know how to do it, I simply remove the sub-directory by,,,

sed -i 's%a\/kernel%a%g' update_2.6.26_compat.patch2
sed -i 's%b\/kernel%b%g' update_2.6.26_compat.patch2

But, this obviously isn't the way to do it...It will be very appriciated
if you tell me the right way to do it.

Thanks.

--

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.


Attachment: update_2.6.26_compat.patch2
Description: Binary data

Reply via email to