diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2008-05-31 20:14:15 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2008-05-31 20:14:15 +0000 |
commit | 0caf47378a36cd01b70e0eaf897968c2e2b32fe7 (patch) | |
tree | 1ce05e9dfdf0de1ca1a69b3d155343a038f6790e /nuttx/fs/fs_inodeaddref.c | |
parent | 4035903f34989f535217310cb05c4ef3efcdc719 (diff) |
Eliminate deadlock condition in opendir()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@757 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/fs/fs_inodeaddref.c')
-rw-r--r-- | nuttx/fs/fs_inodeaddref.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/nuttx/fs/fs_inodeaddref.c b/nuttx/fs/fs_inodeaddref.c index 278cf08aba..584c7b70b9 100644 --- a/nuttx/fs/fs_inodeaddref.c +++ b/nuttx/fs/fs_inodeaddref.c @@ -1,7 +1,7 @@ -/************************************************************ +/**************************************************************************** * fs_inodeaddref.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> @@ -43,34 +43,34 @@ #include <nuttx/fs.h> #include "fs_internal.h" -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Name: inode_addref * * Description: * Increment the reference count on an inode (as when a file * descriptor is dup'ed. * - ************************************************************/ + ****************************************************************************/ void inode_addref(FAR struct inode *inode) { |