Date: Fri, 27 Nov 2009 20:39:46 GMT From: Aditya Sarawgi <truncs@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 171107 for review Message-ID: <200911272039.nARKdkSV015554@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=171107 Change 171107 by truncs@aditya on 2009/11/27 20:39:35 Call the correct itimes function when it is already under a lock. Affected files ... .. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_vnops.c#5 edit Differences ... ==== //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_vnops.c#5 (text+ko) ==== @@ -82,6 +82,7 @@ #include <fs/ext2fs/ext2_dir.h> static int ext2_makeinode(int mode, struct vnode *, struct vnode **, struct componentname *); +static void ext2_itimes_locked(struct vnode *); static vop_access_t ext2_access; static int ext2_chmod(struct vnode *, int, struct ucred *, struct thread *); @@ -285,7 +286,7 @@ VI_LOCK(vp); if (vp->v_usecount > 1) - ext2_itimes(vp); + ext2_itimes_locked(vp); VI_UNLOCK(vp); return (0); } @@ -1477,7 +1478,7 @@ VI_LOCK(vp); if (vp->v_usecount > 1) - ext2_itimes(vp); + ext2_itimes_locked(vp); VI_UNLOCK(vp); return (fifo_specops.vop_close(ap)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911272039.nARKdkSV015554>