TMPFS: Fix a misbehaving assertion

This commit is contained in:
Gregory Nutt 2015-10-09 15:56:16 -06:00
parent b489cd9610
commit d80bea326f
1 changed files with 1 additions and 2 deletions

View File

@ -1961,8 +1961,7 @@ static int tmpfs_unbind(FAR void *handle, FAR struct inode **blkdriver,
fvdbg("handle: %p blkdriver: %p flags: %02x\n",
handle, blkdriver, flags);
DEBUGASSERT(blkdriver == NULL && handle != NULL);
DEBUGASSERT(fs == NULL && fs->tfs_root != NULL);
DEBUGASSERT(fs != NULL && fs->tfs_root != NULL);
/* Lock the file system */