nfs-ganesha/nfs-ganesha-2.4dev7-FSAL-FSAL_CEPHFS-mds.patch
Kaleb S KEITHLEY fc2cc6affa 2.4-dev-7
2016-02-06 01:43:45 -05:00

35 lines
1.1 KiB
Diff

--- nfs-ganesha-2.4-dev-7/src/FSAL/FSAL_CEPH/internal.h.orig 2016-02-06 01:14:25.567869468 -0500
+++ nfs-ganesha-2.4-dev-7/src/FSAL/FSAL_CEPH/internal.h 2016-02-06 01:15:51.655869468 -0500
@@ -123,14 +123,6 @@
extern attrmask_t settable_attributes;
#endif /* !CEPH_INTERNAL_C */
-/**
- * Linux supports a stripe pattern with no more than 4096 stripes, but
- * for now we stick to 1024 to keep them da_addrs from being too
- * gigantic.
- */
-
-static const size_t BIGGEST_PATTERN = 1024;
-
/* private helper for export object */
static inline fsal_staticfsinfo_t *ceph_staticinfo(struct fsal_module *hdl)
--- nfs-ganesha-2.4-dev-7/src/FSAL/FSAL_CEPH/mds.c.orig 2016-02-06 01:15:20.154869468 -0500
+++ nfs-ganesha-2.4-dev-7/src/FSAL/FSAL_CEPH/mds.c 2016-02-06 01:36:01.443869468 -0500
@@ -34,6 +34,14 @@
#ifdef CEPH_PNFS
/**
+ * Linux supports a stripe pattern with no more than 4096 stripes, but
+ * for now we stick to 1024 to keep them da_addrs from being too
+ * gigantic.
+ */
+
+static const size_t BIGGEST_PATTERN = 1024;
+
+/**
* @file FSAL_CEPH/mds.c
* @author Adam C. Emerson <aemerson@linuxbox.com>
* @date Wed Oct 22 13:24:33 2014