summaryrefslogtreecommitdiff
path: root/fs/nffs/src/nffs_priv.h
diff options
context:
space:
mode:
authorChristopher Collins <ccollins476ad@gmail.com>2016-02-26 12:44:24 -0800
committerChristopher Collins <ccollins476ad@gmail.com>2016-02-26 13:10:04 -0800
commit255f93749e9c06f13c58fe0d6198ca8934f2c110 (patch)
tree14f59a48ec9aa7fd5820cd64959da71d26266602 /fs/nffs/src/nffs_priv.h
parent4589d7a7c7cc31b6aa331657600d278a872933ef (diff)
(MYNEWT-167) Only ignore corruption errors when expected.
Diffstat (limited to 'fs/nffs/src/nffs_priv.h')
-rw-r--r--fs/nffs/src/nffs_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nffs/src/nffs_priv.h b/fs/nffs/src/nffs_priv.h
index 061964c9..a89d042e 100644
--- a/fs/nffs/src/nffs_priv.h
+++ b/fs/nffs/src/nffs_priv.h
@@ -394,6 +394,8 @@ int nffs_inode_from_entry(struct nffs_inode *out_inode,
struct nffs_inode_entry *entry);
int nffs_inode_unlink_from_ram(struct nffs_inode *inode,
struct nffs_hash_entry **out_next);
+int nffs_inode_unlink_from_ram_corrupt_ok(struct nffs_inode *inode,
+ struct nffs_hash_entry **out_next);
int nffs_inode_unlink(struct nffs_inode *inode);
/* @misc */