From: Radoslaw Zarzynski Date: Thu, 13 Sep 2018 20:54:24 +0000 (+0200) Subject: common: drop is_page_aligned() of buffer::raw entirely. X-Git-Tag: v14.0.1~278^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24087%2Fhead;p=ceph.git common: drop is_page_aligned() of buffer::raw entirely. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/include/buffer_raw.h b/src/include/buffer_raw.h index 943ccda910e1c..53f60e74d07ec 100644 --- a/src/include/buffer_raw.h +++ b/src/include/buffer_raw.h @@ -92,9 +92,6 @@ public: virtual int zero_copy_to_fd(int fd, loff_t *offset) { return -ENOTSUP; } - virtual bool is_page_aligned() final { - return ((long)data & ~CEPH_PAGE_MASK) == 0; - } virtual bool is_shareable() { // true if safe to reference/share the existing buffer copy // false if it is not safe to share the buffer, e.g., due to special