Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 15f6f377 authored by Nikhilesh Reddy's avatar Nikhilesh Reddy Committed by Gerrit - the friendly Code Review server
Browse files

fuse: Use BUG_ON to check pos validity in fuse_aio_write



Change the check that iocb->ki_pos should be equal to pos
to a BUG_ON from a WARN_ON to ensure we actually catch
the bug before it propagates down and causes other errors.

Change-Id: Ie6d537f3182f638a50166b456226e9c10bb1e3d4
Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent ee0fc760
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment