Re: Remove unnecessary field from struct msgbuf

2020-08-18 Thread Vitaliy Makkoveev
ok mvs@ > On 16 Aug 2020, at 14:35, Visa Hankala wrote: > > The msg_bufl field of struct msgbuf is written but never read. The value > was used by kernfs which is no longer present, so the code could be > cleaned up a little by removing the field. > > On some systems the message buffer data are

Re: Remove unnecessary field from struct msgbuf

2020-08-16 Thread Vitaliy Makkoveev
The diff looks good for me. I’ll recompile system with your diff tomorrow. > On 16 Aug 2020, at 14:35, Visa Hankala wrote: > > The msg_bufl field of struct msgbuf is written but never read. The value > was used by kernfs which is no longer present, so the code could be > cleaned up a little by r

Remove unnecessary field from struct msgbuf

2020-08-16 Thread Visa Hankala
The msg_bufl field of struct msgbuf is written but never read. The value was used by kernfs which is no longer present, so the code could be cleaned up a little by removing the field. On some systems the message buffer data are preserved across a reboot. However, the preservation is best-effort on