copy: include both src and dest names in clone failure diagnostic
authorJeff Liu <jeff.liu@oracle.com>
Sun, 24 Apr 2011 14:25:31 +0000 (16:25 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 25 Apr 2011 08:58:57 +0000 (10:58 +0200)
commit32eb31999f62605872cfc1c32b85bd9a5fcd198e
treee0969ec56a89d53dc6691061a6e1d46c461d3715
parent0e6c96e68cc38954c6d77e2c9361708a383b2cea
copy: include both src and dest names in clone failure diagnostic

* src/copy.c (copy_reg): Upon btrfs clone failure, print not just
the destination file name, but also the source file name.
That may be useful upon failure of a cross-device clone attempt.
src/copy.c