Dont skip shared file/dir create if the other one is a ghost
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 30 Jan 2013 12:07:33 +0000 (14:07 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 30 Jan 2013 12:33:20 +0000 (14:33 +0200)
commit480a7faedc74216a940ef75413141317f9a21c42
tree75b39d663e708b1756d5fb156a8ce7c06acf7aff
parentc9b8e104f42dc683745e4f92d3926ccdf4b18559
Dont skip shared file/dir create if the other one is a ghost

- Explicitly test for shared file/dir being ghost when deciding whether
  to skip create: we must never skip the creation of a real file/dir
  because of a ghost as the ghosts do not get created.
- This fixes the shared ghost testcase, ie the thing that commit
  a712252392eca75443ca45c10a72873cabec7963 was supposed to fix,
  without side-effects that I can see.
(cherry picked from commit 147a26c5f672ee3421fe057725f6be357031bbb5)
lib/transaction.c