Skip to content

Commit 1390643

Browse files
chaseyukleikamp
authored andcommitted
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>
1 parent 02645bc commit 1390643

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/jfs/inode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ void jfs_evict_inode(struct inode *inode)
166166
/*
167167
* Free the inode from the quota allocation.
168168
*/
169-
dquot_initialize(inode);
170169
dquot_free_inode(inode);
171170
}
172171
} else {

0 commit comments

Comments
 (0)