Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757157AbYAXTiU (ORCPT ); Thu, 24 Jan 2008 14:38:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754021AbYAXTfF (ORCPT ); Thu, 24 Jan 2008 14:35:05 -0500 Received: from fxip-0047f.externet.hu ([88.209.222.127]:46546 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756163AbYAXTeg (ORCPT ); Thu, 24 Jan 2008 14:34:36 -0500 Message-Id: <20080124193432.492168716@szeredi.hu> References: <20080124193341.166753833@szeredi.hu> User-Agent: quilt/0.45-1 Date: Thu, 24 Jan 2008 20:33:53 +0100 From: Miklos Szeredi To: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [patch 12/26] mount options: fix ext4 Content-Disposition: inline; filename=ext4_opts.patch Cc: "Theodore Ts'o" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 28 From: Miklos Szeredi Add stripe= option to /proc/mounts for ext4 filesystems. Signed-off-by: Miklos Szeredi --- Index: linux/fs/ext4/super.c =================================================================== --- linux.orig/fs/ext4/super.c 2008-01-23 12:57:07.000000000 +0100 +++ linux/fs/ext4/super.c 2008-01-23 21:43:51.000000000 +0100 @@ -742,7 +742,8 @@ static int ext4_show_options(struct seq_ seq_puts(seq, ",nomballoc"); if (!test_opt(sb, DELALLOC)) seq_puts(seq, ",nodelalloc"); - + if (sbi->s_stripe) + seq_printf(seq, ",stripe=%lu", sbi->s_stripe); /* * journal mode get enabled in different ways -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/