Re: [PATCH 09/22][RFC] Unionfs: File operations

Jan Engelhardt
2006-09-04T07:15:48Z

>+ memcpy(&(hidden_file->f_ra), &(file->f_ra),
>+ sizeof(struct file_ra_state));

-> has precedence over &, so the () are not needed.

>+ if (err != file->f_pos) {
>+ file->f_pos = err;
>+ // ION maybe this?
>+ // file->f_pos = hidden_file->f_pos;

ION?

>+static int unionfs_file_readdir(struct file *file, void *dirent,
>+ filldir_t filldir)
>+{
>+ int err = -ENOTDIR;
>+ return err;
>+}

{
return -ENOTDIR;
}

Jan Engelhardt
--

--
VGER BF report: H 0