From: Jiri Slaby Date: Sat, 1 May 2010 21:51:22 +0000 (+0200) Subject: FS / libfs: Implement simple_write_to_buffer X-Git-Tag: v2.6.35-rc1~484^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a727b43be8b005609e893a80af980808012cfdb;p=pandora-kernel.git FS / libfs: Implement simple_write_to_buffer It will be used in suspend code and serves as an easy wrap around copy_from_user. Similar to simple_read_from_buffer, it takes care of transfers with proper lengths depending on available and count parameters and advances ppos appropriately. Signed-off-by: Jiri Slaby Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed