aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2026-09-07 18:16:23 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-20 18:41:39 +0900
commit34ed307206e3eef231cb06454d4e89cefb9bfccd (patch)
tree59093e5f9f55fe6194e05f6248a4cd2fb5b6184b /scripts
parentntfs: use fatal_signal_pending() for fallocate interruption checks (diff)
ntfs: remove unreachable code in load_and_init_attrdef/upcase
Both load_and_init_attrdef() and load_and_init_upcase() open a system inode with ntfs_iget() and, on error, run: if (IS_ERR(ino)) { if (!IS_ERR(ino)) iput(ino); goto failed; } The inner guard is the exact negation of the outer one, so iput(ino) is dead code. Drop the unreachable branch and collapse the error check to a single statement. No functional change. Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Reviewed-by: Baolin Liu <liubaolin@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions