Rework of VFS is_offline() function to only return boolean offline/online result...
commit75cc08661473cce62756fa062071bb2bc1fb39ec
authorAlexander Bokovoy <ab@samba.org>
Thu, 17 Jan 2008 11:57:35 +0000 (17 14:57 +0300)
committerAlexander Bokovoy <ab@samba.org>
Thu, 17 Jan 2008 11:57:35 +0000 (17 14:57 +0300)
tree58fe062a5ababc7ee34b3453cae375588b52fd87
parente1f5a8f10795831d3c7902d9803c9571c8ac811a
Rework of VFS is_offline() function to only return boolean offline/online result for a file.

This makes sense as upper levels are only taking returned result of 0
(no error) into consideration when deciding whether to mark file
offline/online as returned from is_offline.

That means that we simply can move the decision down to VFS module and
clean up upper levels so that they always see only file status. If there
is an error when trying to identify file status, then VFS module could
decide what to return (offline or online) by itself -- after all, it
ought to have system-specific knowledge anyway.
examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c
source/include/vfs.h
source/include/vfs_macros.h
source/modules/vfs_default.c
source/modules/vfs_tsmsm.c
source/smbd/dosmode.c