Browse Source

jfs: remove redundant dquot_initialize() in jfs_evict_inode()

We don't need to call dquot_initialize() twice in jfs_evict_inode(),
remove one of them for cleanup.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Chao Yu 6 years ago
parent
commit
1390643d1d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      fs/jfs/inode.c

+ 0 - 1
fs/jfs/inode.c

@@ -166,7 +166,6 @@ void jfs_evict_inode(struct inode *inode)
 			/*
 			/*
 			 * Free the inode from the quota allocation.
 			 * Free the inode from the quota allocation.
 			 */
 			 */
-			dquot_initialize(inode);
 			dquot_free_inode(inode);
 			dquot_free_inode(inode);
 		}
 		}
 	} else {
 	} else {