VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 Tags
author: Roel Kluin <roel.kluin@gmail.com> 2009-04-26 14:51:17 +0200 committer: Al Viro <viro@zeniv.linux.org.uk> 2009-05-09 10:49:41 -0400 commit: 774e33e70b2bffa8c602d22a5d27c0061a0039cc parent: c490d79bb70c549e096099576b1df40a8810b0d8
Commit Summary:
ROMFS: romfs_dev_read() error ignored
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/romfs/super.c b/fs/romfs/super.c
index c53b5ef8a02f..4ab3c03d8f95 100644
--- a/fs/romfs/super.c
+++ b/fs/romfs/super.c
@@ -298,7 +298,8 @@ static struct inode *romfs_iget(struct super_block *sb, unsigned long pos)
 	struct romfs_inode ri;
 	struct inode *i;
 	unsigned long nlen;
-	unsigned nextfh, ret;
+	unsigned nextfh;
+	int ret;
 	umode_t mode;
 
 	/* we might have to traverse a chain of "hard link" file entries to get