pstore/ram: Convert to write_buf callback
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Tue, 10 Jul 2012 00:10:43 +0000 (17:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 17:07:09 +0000 (10:07 -0700)
commitc2b7113261c5bb49031a15b833e59ea2d8ec4074
tree88e1f754156739a337791ff4d445a6de7d7d4641
parent21f679404a0c28bd5b1b3aff2a7218bbff4cb43d
pstore/ram: Convert to write_buf callback

Don't use pstore.buf directly, instead convert the code to write_buf callback
which passes a pointer to a buffer as an argument.

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