]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: drop is_page_aligned() of buffer::raw entirely. 24087/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 13 Sep 2018 20:54:24 +0000 (22:54 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 13 Sep 2018 20:54:24 +0000 (22:54 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/include/buffer_raw.h

index 943ccda910e1ce3bb1433b00646da19adc99f3b5..53f60e74d07ecc00d05f06995a32ac0ca34340ed 100644 (file)
@@ -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