]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: use IOC_CLONERANGE intead of IOC_CLONE ioctl
authorSage Weil <sage@newdream.net>
Thu, 23 Feb 2012 17:51:31 +0000 (09:51 -0800)
committerSage Weil <sage@newdream.net>
Thu, 23 Feb 2012 17:51:31 +0000 (09:51 -0800)
commit86a54a6e442c8226c53d8dff0b00a3ddb5655d61
tree55f5f268c5dca4149484777839630ccdd6528264
parent64ca584da12002bc1255db0920fddeb101a9f7b5
filestore: use IOC_CLONERANGE intead of IOC_CLONE ioctl

This is functionally equivalent, except that valgrind doesn't complain
about a bad pointer passed to an ioctl.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Reviewed-by: Samuel Just <samuel.just@dreamhost.com>
src/os/FileStore.cc