Fix annoying debug messages when no snapshots are used
authorVolker Lendecke <vl@samba.org>
Tue, 28 Apr 2009 09:16:19 +0000 (11:16 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 28 Apr 2009 09:26:55 +0000 (11:26 +0200)
commite407636d9bcdc88ca6e21dfd78c016302c6553f3
tree72553059d2ef12a283647c38edfb2f985d2ee2c0
parent7f3df023d30d5a0c420c6a665263353c16948ed7
Fix annoying debug messages when no snapshots are used

Not being able to open the shadow copy directory is the same as having no
shadow copy support at all. The VFS module should in this case not log with
debug level 0 and set ENOSYS to indicate "no shadow copies used" to the higher
levels.

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