Re: [PATCH 3/3] fs: Add the reflink(2) system call.

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

 



On Sun, May 03, 2009 at 03:48:49AM -0400, Christoph Hellwig wrote:
> On Sun, May 03, 2009 at 07:39:02AM +0100, Al Viro wrote:
> > Another question: do we want that to work across mounpoint boundary?
> > It's probably OK in this case, but...
> 
> I don't think so.  Allowing any link-like semantics over mount point
> boundaries will just cause problems.

Quite.  I realize that this is how vfs_link() is written, but I really
wonder if we should turn that if (foo->i_sb != bar->i_sb) into BUG_ON()
in both.  Their callers have vfsmounts and ought to do the vfsmount-level
check anyway, so running into *that* -EXDEV should be impossible.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux