Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-07 Thread Evgeny Budilovsky
On Thu, Aug 7, 2014 at 12:42 AM, Greg Kroah-Hartman wrote: > On Wed, Aug 06, 2014 at 09:22:43PM +0300, Evgeny Budilovsky wrote: >> >> >> Signed-off-by: Evgeny Budilovsky > > Why is this needed? Is the current code a bug? Where was the reference > added? Is this

[PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-06 Thread Evgeny Budilovsky
Signed-off-by: Evgeny Budilovsky --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/lproc_llite.c b/drivers/staging/lustre/lustre/llite/lproc_llite.c index 77f68b5..7e61468 100644

[PATCH] staging/cptm1217: fix checkpatch warnings about else clause

2014-06-20 Thread Evgeny Budilovsky
Signed-off-by: Evgeny Budilovsky --- drivers/staging/cptm1217/clearpad_tm1217.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/staging/cptm1217/clearpad_tm1217.c b/drivers/staging/cptm1217/clearpad_tm1217.c index ca4c2c6..edf9ff2 100644 --- a