]> git.baikalelectronics.ru Git - kernel.git/commit
pstore/ram: Mark ramoops_pstore_write_buf() as notrace
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Wed, 18 Jul 2012 02:49:37 +0000 (19:49 -0700)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 4 Aug 2012 23:16:47 +0000 (16:16 -0700)
commit7c895653715e3c97a7647dccecafa2e638f50c4c
tree7606527669a61be1162f9f99218f550b85c589e3
parent7b094d770687304730c26d57a53d270126543ff8
pstore/ram: Mark ramoops_pstore_write_buf() as notrace

write_buf() should be marked as notrace, otherwise it is prone to
recursion.

Though, yet the issue is never triggered in real life, because we run
inside the function tracer, where ftrace does its own recurse protection.

But it's still no good, plus soon we might switch to our own tracer ops,
and then the issue will be fatal. So, let's fix it.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
fs/pstore/ram.c