X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fpstore%2Finode.c;h=14658b009f1bb8b1d114021b68d5f56d18ae4ea0;hb=f3ed4de6cc8327e4ef79e6c7892b2b5cbbc02405;hp=93a217e4f56307ba058e910a1da85922963504e0;hpb=535b6a122c6b43af5772ca39cbff7056749aae74;p=linux-2.6-microblaze.git diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index 93a217e4f563..14658b009f1b 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c @@ -467,7 +467,7 @@ static struct dentry *pstore_mount(struct file_system_type *fs_type, static void pstore_kill_sb(struct super_block *sb) { mutex_lock(&pstore_sb_lock); - WARN_ON(pstore_sb != sb); + WARN_ON(pstore_sb && pstore_sb != sb); kill_litter_super(sb); pstore_sb = NULL;