]> asedeno.scripts.mit.edu Git - linux.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)
commita72553505f11d507ef8d86ea9cb94da68011f417
treedfee7d34f78d21f779149010a5bfe0a8d3603199
parentc391818a10def7f5aa989842892a4306e75c917d
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