diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-07-13 15:57:14 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-07-13 15:57:14 +0200 |
commit | ec646ea8db21abc1db436aac580a0464e460bd9d (patch) | |
tree | e1c137718bd94548589f0e2f2a89342c75e052da /fs/ntfs/super.c | |
parent | 596fc8ee275b6e4b441b6aa1e2c1a89aeeccb877 (diff) | |
download | lwn-ec646ea8db21abc1db436aac580a0464e460bd9d.tar.gz lwn-ec646ea8db21abc1db436aac580a0464e460bd9d.zip |
vfs: Revert the scalability patches
We still have sporadic and hard to debug problems. Revert it for now
and revisit with Nick's new version.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/ntfs/super.c')
-rw-r--r-- | fs/ntfs/super.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 3475c2e98c80..80b04770e8e9 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c @@ -2921,9 +2921,7 @@ static int ntfs_fill_super(struct super_block *sb, void *opt, const int silent) } if ((sb->s_root = d_alloc_root(vol->root_ino))) { /* We increment i_count simulating an ntfs_iget(). */ - spin_lock(&vol->root_ino->i_lock); - vol->root_ino->i_count++; - spin_unlock(&vol->root_ino->i_lock); + atomic_inc(&vol->root_ino->i_count); ntfs_debug("Exiting, status successful."); /* Release the default upcase if it has no users. */ mutex_lock(&ntfs_lock); |