diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-14 21:05:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-14 21:05:40 +0000 |
commit | 3044a5f0f6197f3923c1229ef1974b17284f56df (patch) | |
tree | 189259eb60c6bdc6a646e62b0eb684ae5719554d /nuttx/fs/fs_unregisterblockdriver.c | |
parent | 3bfb6d9fd94c9f871eecab92a0d550ab66e5042b (diff) | |
download | px4-nuttx-3044a5f0f6197f3923c1229ef1974b17284f56df.tar.gz px4-nuttx-3044a5f0f6197f3923c1229ef1974b17284f56df.tar.bz2 px4-nuttx-3044a5f0f6197f3923c1229ef1974b17284f56df.zip |
Clean-up files in fs/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4942 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_unregisterblockdriver.c')
-rw-r--r-- | nuttx/fs/fs_unregisterblockdriver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_unregisterblockdriver.c b/nuttx/fs/fs_unregisterblockdriver.c index ccf5a2aa9..0166da141 100644 --- a/nuttx/fs/fs_unregisterblockdriver.c +++ b/nuttx/fs/fs_unregisterblockdriver.c @@ -2,7 +2,7 @@ * fs/fs_unregisterblockdriver.c * * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -74,9 +74,9 @@ int unregister_blockdriver(const char *path) { int ret; + inode_semtake(); ret = inode_remove(path); inode_semgive(); return ret; } - |