]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: removing an extra call to iloc() in fill_inode()
authorPratik Shinde <pratikshinde320@gmail.com>
Tue, 13 Aug 2019 20:38:40 +0000 (02:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2019 12:20:31 +0000 (14:20 +0200)
commit7b594b8ebde48bfb2a8ce70b79918ed0dcc7b9f7
treedfee7d34f78d21f779149010a5bfe0a8d3603199
parenta0a68dcda6ca46f072dd6c3d12b51cd38337d470
staging: erofs: removing an extra call to iloc() in fill_inode()

in fill_inode() we call iloc() twice.Avoiding the extra call by
storing the result.

Signed-off-by: Pratik Shinde <pratikshinde320@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Cc: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190813203840.13782-1-pratikshinde320@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/inode.c