bug fix: retry lookup for different silly-renamed files
authorErez Zadok <ezk@bigvaio.(none)>
Fri, 18 May 2007 05:45:18 +0000 (01:45 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Wed, 4 Jul 2007 04:38:52 +0000 (00:38 -0400)
commitc8828e52f043c1c60bbce7c435f0ed309fa3888e
tree4d4eea76ba224a1967ef7c312cc9073690cf1999
parent9d08074243c95dc497ad860ee321015453c69c25
bug fix: retry lookup for different silly-renamed files

When we have to copyup an open-but-unlinked file, we have to give it a
temporary name, similar to NFS's silly-renamed files.  So we generate
temporary file names until we find one that doesn't exist, and use it.  The
code had a bug where if the silly-renamed file name already existed, Unionfs
would oops upon copyup to that temp name.
fs/unionfs/commonfops.c