VFS: discard err2 in filename_create()
Since 204a575e "VFS: add common error checks to lookup_one_qstr_excl()" filename_create() does not need to stash the error value from mnt_want_write() into a separate variable - the logic that used to clobber 'error' after the call of mnt_want_write() has migrated into lookup_one_qstr_excl(). So there is no need for two different err variables. This patch discards "err2" and uses "error' throughout. Reviewed-by:Jeff Layton <jlayton@kernel.org> Signed-off-by:
NeilBrown <neil@brown.name> Signed-off-by:
Christian Brauner <brauner@kernel.org>
Loading
Please sign in to comment