On 30 May, Robert P. J. Day wrote:On Wed, 30 May 2007, Adrian Bunk wrote:[...]Considering that we export this struct to usespace, I don't think
renaming a member without a good reason is a good idea (but adding a
comment makes sense).
i thought i was submitting a fairly innocuous patch. live and learn.
I've could have seen that it is defined outside #ifdef __KERNEL__.
From: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
Subject: fs: clarify "dummy" member in struct inodes_stat_t
Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
--- 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 dummy[5]; /* padding for sysctl ABI compatibility */
};
extern struct inodes_stat_t inodes_stat;