summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorTiezhu Yang2016-06-28 01:27:59 +0200
committerJaegeuk Kim2016-07-08 19:33:27 +0200
commita0995af69554cecd55c8d2b8c4e4418b84737fd0 (patch)
tree8de196fe9a2ed778d4792a4ec3430f0d8ee0c604 /fs/f2fs/f2fs.h
parentf2fs: add nodiscard mount option (diff)
downloadkernel-qcow2-linux-a0995af69554cecd55c8d2b8c4e4418b84737fd0.tar.gz
kernel-qcow2-linux-a0995af69554cecd55c8d2b8c4e4418b84737fd0.tar.xz
kernel-qcow2-linux-a0995af69554cecd55c8d2b8c4e4418b84737fd0.zip
f2fs: remove unnecessary goto statement
When base_addr is NULL, there is no need to call kzfree, it should return -ENOMEM directly. Additionally, it is better to initialize variable 'error' with 0. Signed-off-by: Tiezhu Yang <kernelpatch@126.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions