[PVFS2-CVS] commit by neill in pvfs2/src/apps/admin: pvfs2-ls.c

CVS commit program cvs at parl.clemson.edu
Tue Mar 16 16:33:44 EST 2004


Update of /projects/cvsroot/pvfs2/src/apps/admin
In directory parlweb:/tmp/cvs-serv869/src/apps/admin

Modified Files:
	pvfs2-ls.c 
Log Message:
- and fake directory sizes to be consistent with the faked vfs dir sizes


Index: pvfs2-ls.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/admin/pvfs2-ls.c,v
diff -p -u -r1.40 -r1.41
--- pvfs2-ls.c	16 Mar 2004 21:31:16 -0000	1.40
+++ pvfs2-ls.c	16 Mar 2004 21:33:44 -0000	1.41
@@ -297,6 +297,10 @@ void print_entry_attr(
     {
         size = (PVFS_size)strlen(attr->link_target);
     }
+    else if (attr->objtype == PVFS_TYPE_DIRECTORY)
+    {
+        size = (PVFS_size)4096;
+    }
 
     if (opts->list_human_readable)
     {



More information about the PVFS2-CVS mailing list