Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-block.git] / fs / pstore / inode.c
index 9f73797f95a6c89222b55a3419931b6f8209782d..dc43b5f29305efdd7ee94b72035b3e5b3ba11d17 100644 (file)
@@ -364,6 +364,9 @@ int pstore_mkfile(enum pstore_type_id type, char *psname, u64 id, int count,
        case PSTORE_TYPE_PMSG:
                scnprintf(name, sizeof(name), "pmsg-%s-%lld", psname, id);
                break;
+       case PSTORE_TYPE_PPC_OPAL:
+               sprintf(name, "powerpc-opal-%s-%lld", psname, id);
+               break;
        case PSTORE_TYPE_UNKNOWN:
                scnprintf(name, sizeof(name), "unknown-%s-%lld", psname, id);
                break;