commit | fbe0aa1f3d16fac5b641c0c1697371dcbe45b569 | [log] [tgz] |
---|---|---|
author | Tony Luck <tony.luck@gmail.com> | Thu Mar 17 16:29:15 2011 -0700 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 17 22:08:13 2011 -0400 |
tree | fc4dc844d89ea78ec134fbe1bbcad3af00bad344 | |
parent | 474a00ee1306eb7e82329fdc28b6471a99facba1 [diff] |
Some fixes for pstore 1) Change from ->get_sb() to ->mount() 2) Use mount_single() instead of mount_nodev() 3) Pulled in ramfs_get_inode() & trimmed to what I need for pstore 4) Drop the ugly pstore_writefile() Just save data using kmalloc() and provide a pstore_file_read() that uses simple_read_from_buffer(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>