Skip to content

Commit

Permalink
jfs: remove redundant dquot_initialize() in jfs_evict_inode()
Browse files Browse the repository at this point in the history
We don't need to call dquot_initialize() twice in jfs_evict_inode(),
remove one of them for cleanup.

Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>
  • Loading branch information
chaseyu authored and kleikamp committed Sep 20, 2018
1 parent 02645bc commit 1390643
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/jfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1390643

Please sign in to comment.