diff options
author | Chirantan Ekbote <chirantan@chromium.org> | 2020-05-25 18:31:51 +0900 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-04 06:09:31 +0000 |
commit | c4707badd013c37ff3c1c0847d752bf69f12f86a (patch) | |
tree | ad0072f1206217a86c9e227b8d54bf4477fc32c6 /seccomp/x86_64 | |
parent | e618bf7ec514aaf4d76fd83319a97c7ab9796035 (diff) | |
download | crosvm-c4707badd013c37ff3c1c0847d752bf69f12f86a.tar crosvm-c4707badd013c37ff3c1c0847d752bf69f12f86a.tar.gz crosvm-c4707badd013c37ff3c1c0847d752bf69f12f86a.tar.bz2 crosvm-c4707badd013c37ff3c1c0847d752bf69f12f86a.tar.lz crosvm-c4707badd013c37ff3c1c0847d752bf69f12f86a.tar.xz crosvm-c4707badd013c37ff3c1c0847d752bf69f12f86a.tar.zst crosvm-c4707badd013c37ff3c1c0847d752bf69f12f86a.zip |
devices: fs: Refactor ioctl handling code
Now that the ioctl number method is const we can use a match statement rather than a series of if-else expressions. BUG=b:157189438 TEST=unit tests Change-Id: I9839f2de842ec512811101c07445ca5f99f3fe2f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2214963 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org>
Diffstat (limited to 'seccomp/x86_64')
0 files changed, 0 insertions, 0 deletions