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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 {