Remove is_remotestorage() call from VFS. We already have statvfs() there to handle...
authorAlexander Bokovoy <ab@samba.org>
Thu, 17 Jan 2008 13:51:14 +0000 (16:51 +0300)
committerAlexander Bokovoy <ab@samba.org>
Thu, 17 Jan 2008 13:59:29 +0000 (16:59 +0300)
commite342ca0d931f9a5c8ec9e472dc9c63f1fe012b3a
tree44e16dd515cbbb543e27180c8db903bdb8655c89
parent75cc08661473cce62756fa062071bb2bc1fb39ec
Remove is_remotestorage() call from VFS. We already have statvfs() there to handle FS capabilities.

As discussed with Volker, it is better to calculate FS capabilities at
connection time. We already do this with help of VFS statvfs() call
which allows to fill-in system-specific attributes including FS
capabilities. So just re-use it if you want to represent additional
capabilities in your modules. The only caution is that you need to
call underlying statvfs() call to actually get system-specific
capabilities (and other fields) added. Then add module-specific ones.
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/trans2.c