[PATCH 7/8] fs/inode.c: remove outstanding spin lock prefetch

From: Yan Hong
Date: Thu Sep 27 2012 - 08:52:35 EST


Do we have particular reason to do this here?

Signed-off-by: Yan Hong <clouds.yan@xxxxxxxxx>
---
fs/inode.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/fs/inode.c b/fs/inode.c
index 3a2cd41..e89d30c 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -14,7 +14,6 @@
#include <linux/fsnotify.h>
#include <linux/mount.h>
#include <linux/posix_acl.h>
-#include <linux/prefetch.h>
#include <linux/buffer_head.h> /* for inode_has_buffers */
#include <linux/ratelimit.h>
#include "internal.h"
@@ -919,8 +918,6 @@ struct inode *new_inode(struct super_block *sb)
{
struct inode *inode;

- spin_lock_prefetch(&inode_sb_list_lock);
-
inode = alloc_inode(sb);
if (inode) {
inode->i_state = 0;
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/