PERFORCE change 169206 for review
Gleb Kurtsou
gk at FreeBSD.org
Sun Oct 4 21:47:12 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=169206
Change 169206 by gk at gk_h1 on 2009/10/04 21:46:36
remove unused sysctl
remove vobject->root != NULL it's not needed
add MODULE_DEPEND(crypto)
Affected files ...
.. //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs_vfsops.c#12 edit
.. //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs_vnops.c#20 edit
Differences ...
==== //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs_vfsops.c#12 (text+ko) ====
@@ -321,4 +321,6 @@
};
VFS_SET(pefs_vfsops, pefs, VFCF_LOOPBACK);
+MODULE_DEPEND(pefs, crypto, 1, 1, 1);
MODULE_DEPEND(pefs, salsa20, 1, 1, 1);
+
==== //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs_vnops.c#20 (text+ko) ====
@@ -90,10 +90,6 @@
#define DIRENT_MINSIZE (sizeof(struct dirent) - (MAXNAMLEN + 1))
#define DIRENT_MAXSIZE (sizeof(struct dirent))
-static int pefs_bug_bypass = 0; /* for debugging: enables bypass printf'ing */
-SYSCTL_INT(_debug, OID_AUTO, pefs_bug_bypass, CTLFLAG_RW,
- &pefs_bug_bypass, 0, "");
-
struct pefs_enccn {
struct componentname pec_cn;
void *pec_buf;
@@ -1563,8 +1559,7 @@
if (object == NULL)
return (0);
- if (object->resident_page_count > 0 || object->cache != NULL ||
- object->root != NULL)
+ if (object->resident_page_count > 0 || object->cache != NULL)
return (1);
return (0);
}
More information about the p4-projects
mailing list