linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ext2: fix type of return value ext2_fill_super()
@ 2014-05-15 12:26 Seunghun Lee
  2014-05-15 12:26 ` [PATCH 2/2] ext2: fix error handling in ext2_fill_super() Seunghun Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Seunghun Lee @ 2014-05-15 12:26 UTC (permalink / raw)
  To: jack; +Cc: lczerner, linux-ext4, linux-kernel, Seunghun Lee

This patch fixes type of return value ext2_fill_super().

Signed-off-by: Seunghun Lee <waydi1@gmail.com>
---
 fs/ext2/super.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 3750031..e3fc51e 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -770,7 +770,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
 	unsigned long logic_sb_block;
 	unsigned long offset = 0;
 	unsigned long def_mount_opts;
-	long ret = -EINVAL;
+	int ret = -EINVAL;
 	int blocksize = BLOCK_SIZE;
 	int db_count;
 	int i, j;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-15 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-15 12:26 [PATCH 1/2] ext2: fix type of return value ext2_fill_super() Seunghun Lee
2014-05-15 12:26 ` [PATCH 2/2] ext2: fix error handling in ext2_fill_super() Seunghun Lee
2014-05-15 13:42   ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).