/* Returns 0 if current can read the floor of the filesystem, and error code otherwise  */
static int smack_sb_statfs(struct dentry *dentry)
/* Returns 0 if current can read the floor of the filesystem, and error code otherwise  */
static int smack_sb_statfs(struct dentry *dentry)
{
	struct superblock_smack *sbp = dentry->d_sb->s_security;
	int rc;
	struct smk_audit_info ad;
	smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_FS);
	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
	rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad);
	return rc;
}