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)
commit242030365eacb649161023a3a024373198c34d59
tree7606527669a61be1162f9f99218f550b85c589e3
parent0427193b691edc81c846c7d0ebd2561cae8709d8
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