Date: Tue, 24 Nov 2009 15:56:34 GMT From: Aditya Sarawgi <truncs@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 170985 for review Message-ID: <200911241556.nAOFuY5h001152@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=170985 Change 170985 by truncs@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911241556.nAOFuY5h001152>