fn statfs(&self, ctx: Context, inode: Self::Inode) -> io::Result<bindings::statvfs64> {
        // Safe because we are zero-initializing a struct with only POD fields.
        let mut st: bindings::statvfs64 = unsafe { mem::zeroed() };

        // This matches the behavior of libfuse as it returns these values if the
        // filesystem doesn't implement this method.
        st.f_namemax = 255;
        st.f_bsize = 512;

        Ok(st)
    }
/// Get information about the file system.
Get information about the file system.
Get information about the file system .
fn statfs(&self, ctx: Context, inode: Self::Inode) -> io::Result<bindings::statvfs64> {
        // Safe because we are zero-initializing a struct with only POD fields.
        let mut st: bindings::statvfs64 = unsafe { mem::zeroed() };
        // This matches the behavior of libfuse as it returns these values if the
        // filesystem doesn't implement this method.
        st.f_namemax = 255;
        st.f_bsize = 512;
        Ok(st)
    }
fn statfs ( & self , ctx : Context , inode : Self :: Inode ) -> io :: Result < bindings :: statvfs64 > { // Safe because we are zero-initializing a struct with only POD fields. let mut st : bindings :: statvfs64 = unsafe { mem :: zeroed ( ) } ; // This matches the behavior of libfuse as it returns these values if the // filesystem doesn't implement this method. st . f_namemax = 255 ; st . f_bsize = 512 ; Ok ( st ) }
Get information about the file system.
Get information about the file system .
&self
ctx
Context
inode
Self::Inode