From: Tony Luck Date: Thu, 17 Mar 2011 23:29:15 +0000 (-0700) Subject: Some fixes for pstore X-Git-Tag: v2.6.39-rc1~419^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbe0aa1f3d16fac5b641c0c1697371dcbe45b569;p=pandora-kernel.git 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 --- Reading git-diff-tree failed