|
@@ -89,7 +89,7 @@ static int ceph_statfs(struct dentry *dentry, struct kstatfs *buf)
|
|
|
|
|
|
buf->f_files = le64_to_cpu(st.num_objects);
|
|
buf->f_files = le64_to_cpu(st.num_objects);
|
|
buf->f_ffree = -1;
|
|
buf->f_ffree = -1;
|
|
- buf->f_namelen = PATH_MAX;
|
|
|
|
|
|
+ buf->f_namelen = NAME_MAX;
|
|
buf->f_frsize = PAGE_CACHE_SIZE;
|
|
buf->f_frsize = PAGE_CACHE_SIZE;
|
|
|
|
|
|
/* leave fsid little-endian, regardless of host endianness */
|
|
/* leave fsid little-endian, regardless of host endianness */
|