From bbb7eed4b05f2ae72e6e5e8550e2d6f046100df0 Mon Sep 17 00:00:00 2001 From: John Hawkes Date: Wed, 19 Apr 2006 13:06:20 -0400 Subject: [PATCH] --- yaml --- r: 26028 b: refs/heads/master c: b9d9506d944865876e67281a4e4269d823ce5381 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfs/inode.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 5a1c1a7650f0..a97c516fe926 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5 +refs/heads/master: b9d9506d944865876e67281a4e4269d823ce5381 diff --git a/trunk/fs/nfs/inode.c b/trunk/fs/nfs/inode.c index 2f7656b911b6..d0b991a92327 100644 --- a/trunk/fs/nfs/inode.c +++ b/trunk/fs/nfs/inode.c @@ -700,12 +700,9 @@ static int nfs_show_stats(struct seq_file *m, struct vfsmount *mnt) /* * Display superblock I/O counters */ - for (cpu = 0; cpu < NR_CPUS; cpu++) { + for_each_possible_cpu(cpu) { struct nfs_iostats *stats; - if (!cpu_possible(cpu)) - continue; - preempt_disable(); stats = per_cpu_ptr(nfss->io_stats, cpu);