Re: Bug: trying to create reflink on different device results in empty file

2012-12-19 Thread David Sterba
On Tue, Dec 11, 2012 at 11:16:03PM +0100, Koen De Wit wrote: > When trying to create a clone (reflink) of a file on a different device, > you'll get this error: > Invalid cross-device link > > However, an empty file is created on the target location. An invalid clone > operation should not res

Bug: trying to create reflink on different device results in empty file

2012-12-11 Thread Koen De Wit
When trying to create a clone (reflink) of a file on a different device, you'll get this error: Invalid cross-device link However, an empty file is created on the target location. An invalid clone operation should not result in the creation of a file. Example: # mount (...) /dev/sdb1 on