Re: BUG: Link from sub volume, then remove the subvolume -> wrong link

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

 



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
<taruishi.hiroak@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux