]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
uclient: set NAME_MAX = PAGE_SIZE
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 4 Nov 2009 00:43:53 +0000 (16:43 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 5 Nov 2009 21:06:39 +0000 (13:06 -0800)
src/client/Client.cc

index 54f1fc53c1419369eb30a1791e58043112d41948..b77cdf693139e6f38490ad1ffdf8459f5b99b322 100644 (file)
@@ -4788,7 +4788,7 @@ int Client::statfs(const char *path, struct statvfs *stbuf)
   stbuf->f_favail = -1;
   stbuf->f_fsid = -1;       // ??
   stbuf->f_flag = 0;        // ??
-  stbuf->f_namemax = 1024;  // ??
+  stbuf->f_namemax = PAGE_SIZE;  // ??
 
   return 0;
 }