Christian Parpart
2008-Oct-09 01:40 UTC
[PATCH] deny sys_{rename,link} across subvolumes of same disk
This patch denies renames and linking of inodes across subvolumes, as it causes disk format corruption. I guess a long-term goal *might* be to just handle these special cases with care, to allow them by properly handling this case in the implementation, however, I wasn''t unable to do that with my limited knowledge. Best regards, Christian Parpart.
Christoph Hellwig
2008-Oct-09 05:55 UTC
Re: [PATCH] deny sys_{rename,link} across subvolumes of same disk
On Thu, Oct 09, 2008 at 03:40:50AM +0200, Christian Parpart wrote:> This patch denies renames and linking of inodes across subvolumes, as it > causes disk format corruption. > > I guess a long-term goal *might* be to just handle these special cases with > care, to allow them by properly handling this case in the implementation, > however, I wasn''t unable to do that with my limited knowledge.I''ll post patches in a few days that make sure every subvolume is under a different vfsmount which also solves this problem. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html