1
0
Fork 0

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>
hifive-unleashed-5.1
Chao Yu 2018-09-17 15:12:21 +08:00 committed by Dave Kleikamp
parent 02645bcdfc
commit 1390643d1d
1 changed files with 0 additions and 1 deletions

View File

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