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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux