Commit 1390643d authored by Chao Yu's avatar Chao Yu Committed by Dave Kleikamp

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: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
parent 02645bcd
...@@ -166,7 +166,6 @@ void jfs_evict_inode(struct inode *inode) ...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment