static int zpl_statfs(struct dentry *dentry, struct kstatfs *statp) { int error; error = -zfs_statvfs(dentry, statp); ASSERT3S(error, <=, 0); return (error); }
static int zpl_statfs(struct dentry *dentry, struct kstatfs *statp) { fstrans_cookie_t cookie; int error; cookie = spl_fstrans_mark(); error = -zfs_statvfs(dentry, statp); spl_fstrans_unmark(cookie); ASSERT3S(error, <=, 0); return (error); }