public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Hard link across subvolumes
@ 2009-10-30  5:30 TARUISI Hiroaki
  2009-11-12  7:14 ` [PATCH] Deny sys_link " TARUISI Hiroaki
  0 siblings, 1 reply; 5+ messages in thread
From: TARUISI Hiroaki @ 2009-10-30  5:30 UTC (permalink / raw)
  To: linux-btrfs; +Cc: chris.mason

Hi,

In Btrfs, a hard link across subvolumes should be prohibited,
but not prohibited yet. (It may be convenient if possible,
I think.) If we make a hard link like this, filesystem may
abort or after umount/mount, contents of file may be swapped to
contents of other file(with same i-node number in same tree as
'from' file).

About this, I found Christian Parpart's patch posted last year,
and this patch seems to work well.
  http://www.spinics.net/lists/linux-btrfs/msg00749.html

But this patch is not merged yet.
Some work(to check more, to change error code or to simply test)
shuould be done for this?

-- 
taruisi


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-13  9:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30  5:30 Hard link across subvolumes TARUISI Hiroaki
2009-11-12  7:14 ` [PATCH] Deny sys_link " TARUISI Hiroaki
2009-11-12 15:00   ` Chris Mason
2009-11-13  6:17     ` TARUISI Hiroaki
2009-11-13  9:15     ` Yan, Zheng 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox