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

From: Jan Engelhardt
Date: Mon Sep 04 2006 - 03:12:51 EST



>+ 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/