Revert statfs change. - susmb - mounting of SMB/CIFS shares via FUSE
 (HTM) git clone git://git.codemadness.org/susmb
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a4849fe1ae2283ac94a40c76ceb1868c5961367f
 (DIR) parent d3a19d0da0ef43cd07f3084b8ad4c5672d50c3e6
 (HTM) Author: Geoff Johnstone <geoffSHEEP.johnstoneFROG@googlemail.com>
       Date:   Sat, 19 Apr 2008 22:24:21 +0100
       
       Revert statfs change.
       
       Diffstat:
         M usmb.c                              |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/usmb.c b/usmb.c
       @@ -105,6 +105,7 @@ static bool create_smb_context (char *domain, char *username, SMBCCTX **pctx)
        }
        
        
       +#if 0
        static int usmb_statfs (const char *path, struct statvfs *vfs)
        {
                if ((NULL == path) || (NULL == vfs))
       @@ -119,6 +120,7 @@ static int usmb_statfs (const char *path, struct statvfs *vfs)
        
          return 0;
        }
       +#endif
        
        
        static void * usmb_init (struct fuse_conn_info *conn)
       @@ -168,7 +170,7 @@ static struct fuse_operations fuse_ops = {
          SET_ELEMENT (.open, usmb_open),
          SET_ELEMENT (.read, usmb_read),
          SET_ELEMENT (.write, usmb_write),
       -  SET_ELEMENT (.statfs, usmb_statfs),
       +  SET_ELEMENT (.statfs, NULL),
          SET_ELEMENT (.flush, NULL),
          SET_ELEMENT (.release, usmb_release),
          SET_ELEMENT (.fsync, NULL),