Please sign in to comment.
fs: improve mode validation
Do not return a default mode in case invalid mode values are provided. This strictens and simplifies the function by reusing existing functionality. PR-URL: #26575 Reviewed-By: Matteo Collina <email@example.com> Reviewed-By: Rich Trott <firstname.lastname@example.org> Reviewed-By: Masashi Hirano <email@example.com> Reviewed-By: Rod Vagg <firstname.lastname@example.org>
- Loading branch information...
Showing with 41 additions and 31 deletions.