lkml.org 
[lkml]   [2006]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/22][RFC] Unionfs: File operations

>+ 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-04 09:19    [W:0.271 / U:6.428 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site