commit | 8795e7d48288163ce29eb927240a0c32c40b4d54 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jan 26 10:38:17 2020 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 13 21:09:13 2020 -0400 |
tree | 9e53d747bcfcb14d5a45e4e54dcbeeca06b8d55d | |
parent | 5a2d3edd8dad8c8870419c614e3a7449effe87cb [diff] |
do_last(): simplify the liveness analysis past finish_open_created Don't mess with got_write there - it is guaranteed to be false on entry and it will be set true if and only if we decide to go for truncation and manage to get write access for that. Don't carry acc_mode through the entire thing - it's only used in that part. And don't bother with gotos in there - compiler is quite capable of optimizing that. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>