VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexey Khoroshilov <khoroshilov@ispras.ru> 2013-04-30 15:27:52 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2013-04-30 17:04:05 -0700 commit: 9509f17851da294f8ecf0fc0bfe0fe609671352d parent: eb53b6db7a53642b80b0ca4885cb91d5c7dbc0f8
Commit Summary:
hfs: add error checking for hfs_find_init()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h
index 693df9fe52b2..67817af96f82 100644
--- a/fs/hfs/hfs_fs.h
+++ b/fs/hfs/hfs_fs.h
@@ -174,7 +174,7 @@ extern const struct inode_operations hfs_dir_inode_operations;
 /* extent.c */
 extern int hfs_ext_keycmp(const btree_key *, const btree_key *);
 extern int hfs_free_fork(struct super_block *, struct hfs_cat_file *, int);
-extern void hfs_ext_write_extent(struct inode *);
+extern int hfs_ext_write_extent(struct inode *);
 extern int hfs_extend_file(struct inode *);
 extern void hfs_file_truncate(struct inode *);