Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-04-30 11:26:20 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-04-30 11:34:57 +0200
commit4eba98c7aaf7de711d4d18ecf80650d84edad3b2 (patch)
tree356d6c26888d708c9b0e549371d944364f1d49dd
parent4329d1ae261df5ae61f8a4db7253fbe316efb590 (diff)
fs: Use s_inodes not s_files for inode lists
The VFS scalability rework broke UP due to a stupid typo which enqueued inodes on the file list. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 7406301297ab..972169668aed 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -689,7 +689,7 @@ static void inode_sb_list_add(struct inode *inode, struct super_block *sb)
list = per_cpu_ptr(sb->s_inodes, cpu);
inode->i_sb_list_cpu = cpu;
#else
- list = &sb->s_files;
+ list = &sb->s_inodes;
#endif
put_cpu_var(inode_cpulock);
spin_lock(lock);