[PATCH 0/3] st.ko: some changes for enlarge_buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kai,

here is a short series of 3 small patches for st.ko

The first one removes a bug in enlarge_buffer() that can make
a read or write fail under special conditions.

The second one removes a small piece of code in enlarge_buffer(),
that AFAICS is not necessary.

If enlarge_buffer() fails, the errno currently presented to userland
always is EOVERFLOW, while I think it sometimes should be ENOMEM.
The third patch is a try to enhance this.

All three patches are slightly tested under SLES11-SP2 kernel
 3.0.80-0.7.1-xxxxx and after this adapted to 3.12.2 (just had to fix
some offset). They compile fine under 3.12.2

HTH

Thanks,
Bodo
ÿôèº{.nÇ+?·?®?­?+%?Ëÿ±éݶ¥?wÿº{.nÇ+?·¥?{±þÇ,?ø§¶?¡Ü¨}©?²Æ zÚ&j:+v?¨þø¯ù®w¥þ?à2?Þ?¨è­Ú&¢)ß¡«a¶Úÿÿûàz¿äz¹Þ?ú+?ù???Ý¢jÿ?wèþf





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux