Patchwork [1/2] ext2: fix type of return value ext2_fill_super()

login
register
mail settings
Submitter Seunghun Lee
Date May 15, 2014, 12:26 p.m.
Message ID <1400156776-3412-1-git-send-email-waydi1@gmail.com>
Download mbox | patch
Permalink /patch/349194/
State Not Applicable
Headers show

Comments

Seunghun Lee - May 15, 2014, 12:26 p.m.
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(-)

Patch

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;