Date: Fri, 2 Nov 2012 21:04:06 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242492 - head/sys/ufs/ffs Message-ID: <201211022104.qA2L469N001278@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jeff Date: Fri Nov 2 21:04:06 2012 New Revision: 242492 URL: http://svn.freebsd.org/changeset/base/242492 Log: - In cancel_mkdir_dotdot don't panic if the inodedep is not available. If the previous diradd had already finished it could have been reclaimed already. This would only happen under heavy dependency pressure. Reported by: Andrey Zonov <zont@FreeBSD.org> Discussed with: mckusick MFC after: 1 week Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c ============================================================================== --- head/sys/ufs/ffs/ffs_softdep.c Fri Nov 2 20:36:41 2012 (r242491) +++ head/sys/ufs/ffs/ffs_softdep.c Fri Nov 2 21:04:06 2012 (r242492) @@ -8579,7 +8579,7 @@ cancel_mkdir_dotdot(ip, dirrem, jremref) if (inodedep_lookup(UFSTOVFS(ip->i_ump), ip->i_number, 0, &inodedep) == 0) - panic("cancel_mkdir_dotdot: Lost inodedep"); + return (jremref); dap = inodedep->id_mkdiradd; if (dap == NULL || (dap->da_state & MKDIR_PARENT) == 0) return (jremref);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211022104.qA2L469N001278>