if (!error && put_compat_statfs(buf, &tmp)) error = -EFAULT;
if (!error) error = put_compat_statfs(buf, &tmp);
asmlinkage long compat_sys_fstatfs(unsigned int fd, struct compat_statfs __user *buf){	struct file * file;	struct kstatfs tmp;	int error;	error = -EBADF;	file = fget(fd);	if (!file)		goto out;	error = vfs_statfs(file->f_dentry->d_inode->i_sb, &tmp);	if (!error && put_compat_statfs(buf, &tmp))		error = -EFAULT;	fput(file);out:	return error;}