jfs: remove redundant dquot_initialize() in jfs_evict_inode()
authorChao Yu <yuchao0@huawei.com>
Mon, 17 Sep 2018 07:12:21 +0000 (15:12 +0800)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Thu, 20 Sep 2018 14:28:49 +0000 (09:28 -0500)
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>
fs/jfs/inode.c

index 054cc761b426fa510a33df464bd788342576f3fc..805ae9e8944aa113d2c293f8d4b988428ea8fe11 100644 (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 {