PERFORCE change 170985 for review

Aditya Sarawgi truncs at FreeBSD.org
Tue Nov 24 15:56:35 UTC 2009


http://p4web.freebsd.org/chv.cgi?CH=170985

Change 170985 by truncs at aditya on 2009/11/24 15:56:17

	Remove unused macroses.

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/fs.h#6 edit

Differences ...

==== //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/fs.h#6 (text+ko) ====

@@ -149,12 +149,4 @@
 extern int inside[], around[];
 extern u_char *fragtbl[];
 
-/* a few remarks about superblock locking/unlocking
- * Linux provides special routines for doing so
- * I haven't figured out yet what BSD does
- * I think I'll try a VOP_LOCK/VOP_UNLOCK on the device vnode
- */
-#define  DEVVP(inode)		(VFSTOEXT2(ITOV(inode)->v_mount)->um_devvp)
-#define  lock_super(devvp)   	vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY)
-#define  unlock_super(devvp) 	VOP_UNLOCK(devvp, 0)
 


More information about the p4-projects mailing list