From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Lutomirski Subject: Re: BUG: Link from sub volume, then remove the subvolume -> wrong link Date: Mon, 14 Dec 2009 23:04:14 -0500 Message-ID: <4B270ABE.5090109@myrealbox.com> References: <200912112054.25986.kreijack@libero.it> <4B22E2D8.7020706@jp.fujitsu.com> <4B23E378.1090905@mit.edu> <4B257BF4.5060807@jp.fujitsu.com> <4B26D504.3080201@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: luto@mit.edu, kreijack@libero.it, linux-btrfs@vger.kernel.org, chris.mason@oracle.com To: TARUISI Hiroaki Return-path: In-Reply-To: <4B26D504.3080201@jp.fujitsu.com> List-ID: TARUISI Hiroaki wrote: > 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... > EOPNOTSUPP? EINVAL? Seriously, though, something should go in. Chris, any opinion? --Andy > 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 > > -- > 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 >