From mboxrd@z Thu Jan 1 00:00:00 1970 From: TARUISI Hiroaki Subject: Re: BUG: Link from sub volume, then remove the subvolume -> wrong link Date: Tue, 15 Dec 2009 09:15:00 +0900 Message-ID: <4B26D504.3080201@jp.fujitsu.com> References: <200912112054.25986.kreijack@libero.it> <4B22E2D8.7020706@jp.fujitsu.com> <4B23E378.1090905@mit.edu> <4B257BF4.5060807@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: kreijack@libero.it, linux-btrfs@vger.kernel.org, chris.mason@oracle.com To: luto@mit.edu Return-path: In-Reply-To: List-ID: Hi, I think message:'Operation not permitted' is more proper for this problem than 'Invalid cross-device link' simply because this link is not cross-device link. Of course, this operation is prohibited not by security policy but by inner limitation of btrfs, this usage of EPERM may be a kind of abuses... Regards, taruisi (2009/12/15 3:43), Andrew Lutomirski wrote: > [cc: Chris -- This, or something like it, should probably go to > stable, but it needs to make it to upstream somewhere first.] > > On Sun, Dec 13, 2009 at 6:42 PM, TARUISI Hiroaki > wrote: >> Hi, >> >> We can see the patch in ML archive or at 'Patchwork' site. >> >> http://patchwork.kernel.org/patch/59519/ > > That fixes the bug, but shouldn't the error be EXDEV? It has nothing > to do with permissions. > > --Andy > -- > 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