Re: [PATCH Outreachy] mru: use double-linked list from list.h
- From
Оля Тележная <olyatelezhnaya@gmail.com>
- Date
- Sep 30, 2017, 18:09 UTC
- Message-ID
- <CAL21Bmk2oN61CxJA0eju=FtAh2Ei9dLqRMPZKonCND4sC504Sg@mail.gmail.com>
- In-Reply-To
- <20170929234002.3fzaksoarz75p7e2@sigill.intra.peff.net>
I added "v2" after "PATCH", but it does not appeared. Actually it was written automatically and it was "PATCH Outreachy v2". I rearranged it in the middle of the phrase.
Show 5 quoted lines
>> I forgot about leak. I also need to add checking in mru_clear. That's >> not beautiful solution but it works reliably. > > I'm not sure what you mean about checking in mru_clear(). It may make > sense to just send your v2 patch and I can see there what you do.
I realized that I said something strange before. I solved the problem with leak by deleting INIT in prepare_packed_git and adding init as you suggested here: https://github.com/telezhnaya/git/commit/7f8995835949f83e54efdfd88445feb6d54cb3e9#commitcomment-24576103
By the way, I asked to edit FAQ for Linux kernel newbies about linked list that confused me a week ago, and that funny picture was deleted. https://kernelnewbies.org/FAQ/LinkedLists Maybe it will help to someone else :)