ocfs2: simplify return statement in ocfs2_filecheck_attr_store()
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 8 Apr 2025 10:34:07 +0000 (12:34 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 May 2025 00:54:08 +0000 (17:54 -0700)
commit7d9b05277ae89b9306f9d71ec35a03ee59508334
tree4ecefccbcca8d4f391b2a145dadf2c2cc0099842
parent1abf729e9d9f4eb42c01fa9cb86eeb1766ecd49f
ocfs2: simplify return statement in ocfs2_filecheck_attr_store()

Don't negate 'ret' and simplify the return statement.

No functional changes intended.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/filecheck.c