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)
committerVolker Lendecke <vl@samba.org>
Wed, 7 Oct 2009 08:29:34 +0000 (10:29 +0200)
commit1c335910311a1b78e0ca2e47f08ec844725ff4fb
treee86f4e04c179270f709836d74de63bb1ce90e3d9
parentaebe6bcc6ae90a5ee4c703772852bf4dcedc1081
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.

Signed-off-by: Michael Adam <obnox@samba.org>
source3/modules/vfs_shadow_copy2.c