On Sun, Nov 30, 2014 at 10:11:41AM -0500, Pranith Kumar wrote:
> On Sun, Nov 30, 2014 at 3:26 AM, Omar Sandoval wrote:
> > A naked read of the value of an RCU pointer isn't safe. Put the whole
> > access in
> > an RCU critical section, not just the pointer dereference.
> >
> > Signed-off-by: Omar
On Sun, Nov 30, 2014 at 3:26 AM, Omar Sandoval wrote:
> A naked read of the value of an RCU pointer isn't safe. Put the whole access
> in
> an RCU critical section, not just the pointer dereference.
>
> Signed-off-by: Omar Sandoval
You can use rcu_access_pointer() in the if() condition check ra
A naked read of the value of an RCU pointer isn't safe. Put the whole access in
an RCU critical section, not just the pointer dereference.
Signed-off-by: Omar Sandoval
---
fs/btrfs/ioctl.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/
3 matches
Mail list logo