Merge branch 'for-3.1' of git://linux-nfs.org/~bfields/linux
[pandora-kernel.git] / include / linux / pstore.h
index 4197773..2455ef2 100644 (file)
@@ -35,7 +35,9 @@ struct pstore_info {
        struct mutex    buf_mutex;      /* serialize access to 'buf' */
        char            *buf;
        size_t          bufsize;
-       size_t          (*read)(u64 *id, enum pstore_type_id *type,
+       int             (*open)(struct pstore_info *psi);
+       int             (*close)(struct pstore_info *psi);
+       ssize_t         (*read)(u64 *id, enum pstore_type_id *type,
                        struct timespec *time);
        u64             (*write)(enum pstore_type_id type, size_t size);
        int             (*erase)(u64 id);