]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy.c: adjust comments, tweak semantics
authorJim Meyering <meyering@redhat.com>
Sat, 5 Jun 2010 08:17:48 +0000 (10:17 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 22 Jan 2011 11:16:42 +0000 (12:16 +0100)
commit30be467038230107249640a2469639d5e981a905
treea032c15c5878d7c356fc89ab5b4447fee8fdaea4
parent0e04def9928095f4916e9c2f4e38202d4a2b8bdc
copy.c: adjust comments, tweak semantics

* src/copy.c (fiemap_copy): Rename from fiemap_copy_ok.
Add/improve comments.
Remove local, "fail".
(fiemap_copy): Do not require caller to set
"normal_copy_required" before calling fiemap_copy.
Report ioctl failure if it's the 2nd or subsequent call.
src/copy.c