summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-06-30 17:37:13 +0300
committerTheodore Ts'o <tytso@mit.edu>2017-07-15 19:33:22 +0300
commit72e5c740f6335e27253b8ff64d23d00337091535 (patch)
tree277b0d7fdd627c80c54deafae9ab10b27c3d39de /fs/file.c
parenteecabf567422eda02bd179f2707d8fe24f52d888 (diff)
downloadlinux-72e5c740f6335e27253b8ff64d23d00337091535.tar.xz
random: reorder READ_ONCE() in get_random_uXX
Avoid the READ_ONCE in commit 4a072c71f49b ("random: silence compiler warnings and fix race") if we can leave the function after arch_get_random_XXX(). Cc: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions