On Thu, May 03, 2012 at 03:26:20PM +0200, Hubert Kario wrote: > > --- a/fs/btrfs/ioctl.c > > +++ b/fs/btrfs/ioctl.c > > @@ -2321,6 +2321,10 @@ static noinline long btrfs_ioctl_clone(struct file > > *file, unsigned long srcfd, goto out_drop_write; > > } > > > > + ret = -EXDEV; > > + if (src_file->f_path.mnt != file->f_path.mnt) > > I'm not sure about this comparision. Is the f_path struct member used just as > reference to some general kernel structure? f_path is 'struct path' pointer obtained from a 'struct file' hence the 'f_' prefix, this is a naming scheme used in vfs. Patch updated in my git repo (branch dev/cross-subvol-clone-v2). david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
