diff options
author | Tim Prouty <tprouty@samba.org> | 2008-12-30 17:17:24 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-01-11 22:13:36 -0800 |
commit | 5c48ba6563ff025037b9337d34b9aa13de610fba (patch) | |
tree | e24789f5a1f0ed1fad8fe76b072148c23661be01 /source3/modules/vfs_onefs.c | |
parent | ce5eded7e03d86d5d7f2ee1a9d975fae116d2306 (diff) | |
download | samba-5c48ba6563ff025037b9337d34b9aa13de610fba.tar.gz samba-5c48ba6563ff025037b9337d34b9aa13de610fba.tar.bz2 samba-5c48ba6563ff025037b9337d34b9aa13de610fba.zip |
s3: General cleanup of the open path in the OneFS vfs module
Diffstat (limited to 'source3/modules/vfs_onefs.c')
-rw-r--r-- | source3/modules/vfs_onefs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/modules/vfs_onefs.c b/source3/modules/vfs_onefs.c index b902812498..b6faf52c9a 100644 --- a/source3/modules/vfs_onefs.c +++ b/source3/modules/vfs_onefs.c @@ -27,14 +27,16 @@ static int onefs_mkdir(vfs_handle_struct *handle, const char *path, mode_t mode) { - DEBUG(0, ("SMB_VFS_MKDIR should never be called in vfs_onefs")); + /* SMB_VFS_MKDIR should never be called in vfs_onefs */ + SMB_ASSERT(false); return SMB_VFS_NEXT_MKDIR(handle, path, mode); } static int onefs_open(vfs_handle_struct *handle, const char *fname, files_struct *fsp, int flags, mode_t mode) { - DEBUG(0, ("SMB_VFS_OPEN should never be called in vfs_onefs")); + /* SMB_VFS_OPEN should never be called in vfs_onefs */ + SMB_ASSERT(false); return SMB_VFS_NEXT_OPEN(handle, fname, fsp, flags, mode); } |