linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* copy_file_range() errno changes introduced in v5.3-rc1
@ 2019-09-26 15:56 Petr Vorel
  2019-09-26 16:04 ` Darrick J. Wong
  0 siblings, 1 reply; 8+ messages in thread
From: Petr Vorel @ 2019-09-26 15:56 UTC (permalink / raw)
  To: Amir Goldstein
  Cc: Dave Chinner, Darrick J. Wong, Cyril Hrubis, linux-xfs,
	linux-fsdevel, ltp

Hi Amir,

I'm going to fix LTP test copy_file_range02 before upcoming LTP release.
There are some returning errno changes introduced in v5.3-rc1, part of commit 40f06c799539
("Merge tag 'copy-file-range-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux").
These changes looks pretty obvious as wanted, but can you please confirm it they were intentional?

* 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") started to return -EXDEV.
* 96e6e8f4a68d ("vfs: add missing checks to copy_file_range") started to return -EPERM, -ETXTBSY, -EOVERFLOW.

Thanks for info.

Kind regards,
Petr

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

end of thread, other threads:[~2019-09-27  8:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-26 15:56 copy_file_range() errno changes introduced in v5.3-rc1 Petr Vorel
2019-09-26 16:04 ` Darrick J. Wong
2019-09-26 16:19   ` Petr Vorel
2019-09-26 16:33     ` Amir Goldstein
2019-09-26 16:50       ` Amir Goldstein
2019-09-26 17:57       ` Petr Vorel
2019-09-26 18:07         ` Amir Goldstein
2019-09-27  8:25           ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).