shadow_copy2: The system getrealfilename() can't deal with a 0-length fname
authorVolker Lendecke <vl@samba.org>
Tue, 30 Jun 2009 12:26:32 +0000 (14:26 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 28 Jul 2009 12:24:53 +0000 (14:24 +0200)
commitde78566957518ef4327f7fede6337808655d437f
tree1e6c35c20b853cabbcdd4d3b00047275cb9205b3
parent754c9a56d1908ccd445c9451e0fc4dab37843edd
shadow_copy2: The system getrealfilename() can't deal with a 0-length fname

This fixes viewing the content of snapshots in the share root directory. We
have to treat the filename that *just* consists of "@GMT-YYYY.MM.DD-HH.MM.SS"
like the share root, which is the current working directory.
source/modules/vfs_shadow_copy2.c