summaryrefslogtreecommitdiffstats
path: root/fs/nfs/flushd.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
commit6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch)
tree0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /fs/nfs/flushd.c
parentecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff)
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
Diffstat (limited to 'fs/nfs/flushd.c')
-rw-r--r--fs/nfs/flushd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/flushd.c b/fs/nfs/flushd.c
index 02024c90e..700504ded 100644
--- a/fs/nfs/flushd.c
+++ b/fs/nfs/flushd.c
@@ -175,7 +175,7 @@ static void inode_append_flushd(struct inode *inode)
* it from disappearing when on the flush list
*/
NFS_FLAGS(inode) |= NFS_INO_FLUSH;
- inode->i_count++;
+ atomic_inc(&inode->i_count);
out:
spin_unlock(&nfs_flushd_lock);
}