[PATCH 0/1] Fix for mh/packed-ref-store-prep

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

 



When preparing a new patch series, I noticed a bug that crept into
mh/packed-ref-store-prep while I was shuffling patches around. It
introduces a race condition if another process rewrites the
`packed-refs` file just before we lock it. See the commit message for
more information.

This patch applies on top of mh/packed-ref-store-prep and merges to
master without problems.

Michael

Michael Haggerty (1):
  lock_packed_refs(): fix cache validity check

 refs/files-backend.c | 32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)

-- 
2.11.0




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux