From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753971AbaEOM0f (ORCPT ); Thu, 15 May 2014 08:26:35 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:55451 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751714AbaEOM0a (ORCPT ); Thu, 15 May 2014 08:26:30 -0400 From: Seunghun Lee To: jack@suse.cz Cc: lczerner@redhat.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Seunghun Lee Subject: [PATCH 1/2] ext2: fix type of return value ext2_fill_super() Date: Thu, 15 May 2014 21:26:15 +0900 Message-Id: <1400156776-3412-1-git-send-email-waydi1@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes type of return value ext2_fill_super(). Signed-off-by: Seunghun Lee --- 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