]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Hadoop: CEPH_SETTATTR_ATIME -> CEPH_SETATTR_ATIME typo fix
authorGreg Farnum <gregf@hq.newdream.net>
Mon, 10 Aug 2009 05:45:48 +0000 (22:45 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Tue, 11 Aug 2009 00:00:19 +0000 (17:00 -0700)
src/client/hadoop/CephFSInterface.cc

index 13ac0163e87a70a595ae4c4fa9bdd1db25168306..005edf666a5e523aa1dcd248380ba8fecc62e7db 100644 (file)
@@ -548,7 +548,7 @@ JNIEXPORT jint JNICALL Java_org_apache_hadoop_fs_ceph_CephFileSystem_ceph_1setTi
   //build the mask for ceph_setattr
   int mask = 0;
   if (mtime!=-1) mask = CEPH_SETATTR_MTIME;
-  if (atime!=-1) mask |= CEPH_SETTATTR_ATIME;
+  if (atime!=-1) mask |= CEPH_SETATTR_ATIME;
   //build a struct stat and fill it in!
   struct stat attr;
   attr.st_mtime = mtime;