mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: linux-kernel@vger.kernel.org
Cc: Josh Boyer <jwboyer@gmail.com>,
	"Robert P. J. Day" <rpjday@mindspring.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	Randy Dunlap <randy.dunlap@oracle.com>,
	Alexey Dobriyan <adobriyan@gmail.com>
Subject: Re: [PATCH] FILESYSTEMS: Delete unused "int dummy[5]" from inodes_stat_t.
Date: Wed, 30 May 2007 08:41:56 +0200 (CEST)	[thread overview]
Message-ID: <tkrat.2eccbb76ef1aee06@s5r6.in-berlin.de> (raw)
In-Reply-To: <20070529123326.a8a1bd64.randy.dunlap@oracle.com>

From: Stefan Richter <stefanr@s5r6.in-berlin.de>
Subject: fs: clarify "dummy" member in struct inodes_stat_t

Found by Robert P. J. Day:  The role of inodes_stat_t.dummy wasn't clear
and one might be tempted to remove it.  Give it a better name and add a
comment.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
Only quickly compile-tested.

Index: linux/include/linux/fs.h
===================================================================
--- linux.orig/include/linux/fs.h
+++ linux/include/linux/fs.h
@@ -44,7 +44,7 @@ extern int get_max_files(void);
 struct inodes_stat_t {
 	int nr_inodes;
 	int nr_unused;
-	int dummy[5];
+	int reserved[5];	/* for sysctl and procfs ABI compatibility */
 };
 extern struct inodes_stat_t inodes_stat;
 

-- 
Stefan Richter
-=====-=-=== -=-= ====-
http://arcgraph.de/sr/


  reply	other threads:[~2007-05-30  6:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29 17:11 Robert P. J. Day
2007-05-29 18:00 ` Andrew Morton
2007-05-29 18:07   ` Robert P. J. Day
2007-05-29 18:19     ` Randy Dunlap
2007-05-29 18:21       ` Robert P. J. Day
2007-05-29 18:33         ` Randy Dunlap
2007-05-29 18:44           ` Josh Boyer
2007-05-29 19:33             ` Randy Dunlap
2007-05-30  6:41               ` Stefan Richter [this message]
2007-05-30 11:29                 ` Adrian Bunk
2007-05-30 11:38                   ` Robert P. J. Day
2007-05-30 19:01                     ` [trivial PATCH, updated] fs: clarify "dummy" member in struct inodes_stat_t Stefan Richter
2007-05-30 19:16                       ` Randy Dunlap
2007-05-29 18:04 ` [PATCH] FILESYSTEMS: Delete unused "int dummy[5]" from inodes_stat_t Alexey Dobriyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tkrat.2eccbb76ef1aee06@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=jwboyer@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    --cc=rpjday@mindspring.com \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome