From 47a376bf15d443e9cae61b93b6e595b48356afab Mon Sep 17 00:00:00 2001 From: OGAWA Hirofumi Date: Thu, 6 Nov 2008 12:53:50 -0800 Subject: [PATCH] --- yaml --- r: 118457 b: refs/heads/master c: a993b542bb4cd3e5a64863b7ef892bbebec2239b h: refs/heads/master i: 118455: 2fe12a4b3cbd19aa9f8e80a959441a8867f0d4a2 v: v3 --- [refs] | 2 +- trunk/fs/fat/inode.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index f2f65893c71f..e90eda178b86 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5e35dd4651002207948f10c576fc7d9bad448815 +refs/heads/master: a993b542bb4cd3e5a64863b7ef892bbebec2239b diff --git a/trunk/fs/fat/inode.c b/trunk/fs/fat/inode.c index f58cd48d98b8..8e1b75c63c7f 100644 --- a/trunk/fs/fat/inode.c +++ b/trunk/fs/fat/inode.c @@ -429,13 +429,8 @@ static void fat_delete_inode(struct inode *inode) static void fat_clear_inode(struct inode *inode) { - struct super_block *sb = inode->i_sb; - struct msdos_sb_info *sbi = MSDOS_SB(sb); - - spin_lock(&sbi->inode_hash_lock); fat_cache_inval_inode(inode); - hlist_del_init(&MSDOS_I(inode)->i_fat_hash); - spin_unlock(&sbi->inode_hash_lock); + fat_detach(inode); } static void fat_write_super(struct super_block *sb)