lkml.org 
[lkml]   [2006]   [Sep]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 4 Sep 2006 09:11:46 +0200 (MEST)
FromJan Engelhardt <>
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    [from the cache]
©2003-2008