commit | 6a727b43be8b005609e893a80af980808012cfdb | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Sat May 01 23:51:22 2010 +0200 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Mon May 10 23:08:17 2010 +0200 |
tree | 7e30e015a9da93f049fbe6a27b591313d592b8b6 | |
parent | bc6a0cbd576c66995d782331456f68ae63a50af4 [diff] |
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 <jslaby@suse.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>