Rework of VFS is_offline() function to only return boolean offline/online result...
authorAlexander Bokovoy <ab@samba.org>
Thu, 17 Jan 2008 11:57:35 +0000 (14:57 +0300)
committerAlexander Bokovoy <ab@samba.org>
Thu, 17 Jan 2008 11:57:35 +0000 (14:57 +0300)
commit026a66abecea3e3a54cdbfb97129d5e65608e5df
tree549c3c1e1a715a020b4f3b1fa6160f6d2d071269
parent6de904b836f4fdf5b0b027a09554afe3c13e05ca
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.
(This used to be commit 75cc08661473cce62756fa062071bb2bc1fb39ec)
examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c
source3/include/vfs.h
source3/include/vfs_macros.h
source3/modules/vfs_default.c
source3/modules/vfs_tsmsm.c
source3/smbd/dosmode.c