fs/squashfs: sqfs_frag_lookup: simplify error handling
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:15 +0000 (12:11 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
commit87cf18fdc7dc6bd9e861a544477f3fefa3ba0ca0
treed90b995c0ae637610c2253a5017f8ef9a5291aff
parentb5dd965445cb61814a33002bead821f7bdba74c7
fs/squashfs: sqfs_frag_lookup: simplify error handling

For consistency with other functions.

Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>
Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
[jh80.chung: cherry picked from mainline commit c9b8e86f8bd238421b35ec15d88b4d3cac8a0992]
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: If6a955583f876fe4399982e58ade2784c2da1b30
fs/squashfs/sqfs.c