]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msgr: Add CEPH_FEATURE_FLOCK to default features set, remove extraneous data from...
authorGreg Farnum <gregf@hq.newdream.net>
Mon, 2 Aug 2010 17:39:40 +0000 (10:39 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Mon, 2 Aug 2010 22:35:59 +0000 (15:35 -0700)
src/include/ceph_fs.h
src/msg/SimpleMessenger.h

index 839fbecd7109e0d9b9b29238525c957a287dd12a..1b8ee257bb0e1a27bfdabd977716a76fb834a234 100644 (file)
@@ -671,8 +671,6 @@ struct ceph_mds_cap_reconnect {
        __le64 cap_id;
        __le32 wanted;
        __le32 issued;
-       __le64 size;
-       struct ceph_timespec mtime, atime;
        __le64 snaprealm;
        __le64 pathbase;        /* base ino for our path to this ino */
        __le32 flock_len;       /* size of flock state blob, if any */
index a951de7ed6ef4dece0ec4584527b93a09df498c5..a330d83fa850bfc9c8fc380ac31eed6de6ddcb87 100644 (file)
@@ -55,7 +55,8 @@ using namespace __gnu_cxx;
 #define MSGR_FEATURES_SUPPORTED  \
   CEPH_FEATURE_NOSRCADDR |      \
   CEPH_FEATURE_SUBSCRIBE2 |     \
-  CEPH_FEATURE_MONNAMES
+  CEPH_FEATURE_MONNAMES |        \
+  CEPH_FEATURE_FLOCK
 
 class SimpleMessenger : public Messenger {
 public: