diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-05-31 20:14:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-05-31 20:14:15 +0000 |
commit | bd6c6f423d88aa5ae35b3e833cb96da83a878d8b (patch) | |
tree | 1ce05e9dfdf0de1ca1a69b3d155343a038f6790e /nuttx/fs/fs_inoderelease.c | |
parent | cce6409e1441451fd6ceef4f2a9d69dd04b5357d (diff) | |
download | px4-nuttx-bd6c6f423d88aa5ae35b3e833cb96da83a878d8b.tar.gz px4-nuttx-bd6c6f423d88aa5ae35b3e833cb96da83a878d8b.tar.bz2 px4-nuttx-bd6c6f423d88aa5ae35b3e833cb96da83a878d8b.zip |
Eliminate deadlock condition in opendir()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@757 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_inoderelease.c')
-rw-r--r-- | nuttx/fs/fs_inoderelease.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/nuttx/fs/fs_inoderelease.c b/nuttx/fs/fs_inoderelease.c index 73ca72603..b37b0100f 100644 --- a/nuttx/fs/fs_inoderelease.c +++ b/nuttx/fs/fs_inoderelease.c @@ -1,7 +1,7 @@ -/************************************************************ +/**************************************************************************** * fs_inoderelease.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <nuttx/config.h> #include <sys/types.h> @@ -44,34 +44,34 @@ #include <nuttx/fs.h> #include "fs_internal.h" -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Name: inode_release * * Description: * This is called from close() logic when it no longer refers * to the inode. * - ************************************************************/ + ****************************************************************************/ void inode_release(FAR struct inode *node) { |