diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-09-17 10:12:21 +0300 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2018-09-20 17:28:49 +0300 |
commit | 1390643d1d5c539be4d7031a0c507565cb1168a0 (patch) | |
tree | a2dc6d68ea35f27c65477869c7fc4d773a48092b | |
parent | 02645bcdfcc2d51f79d87ad346f07ef64ad1ea55 (diff) | |
download | linux-1390643d1d5c539be4d7031a0c507565cb1168a0.tar.xz |
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>
-rw-r--r-- | fs/jfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c index 054cc761b426..805ae9e8944a 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c @@ -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 { |