#define        PSTORE_NAMELEN  64
 
-static DEFINE_SPINLOCK(allpstore_lock);
-static LIST_HEAD(allpstore);
+static DEFINE_SPINLOCK(records_list_lock);
+static LIST_HEAD(records_list);
 
 struct pstore_private {
        struct list_head list;
 
        clear_inode(inode);
        if (p) {
-               spin_lock_irqsave(&allpstore_lock, flags);
+               spin_lock_irqsave(&records_list_lock, flags);
                list_del(&p->list);
-               spin_unlock_irqrestore(&allpstore_lock, flags);
+               spin_unlock_irqrestore(&records_list_lock, flags);
                free_pstore_private(p);
        }
 }
 
        WARN_ON(!inode_is_locked(d_inode(root)));
 
-       spin_lock_irqsave(&allpstore_lock, flags);
-       list_for_each_entry(pos, &allpstore, list) {
+       spin_lock_irqsave(&records_list_lock, flags);
+       list_for_each_entry(pos, &records_list, list) {
                if (pos->record->type == record->type &&
                    pos->record->id == record->id &&
                    pos->record->psi == record->psi) {
                        break;
                }
        }
-       spin_unlock_irqrestore(&allpstore_lock, flags);
+       spin_unlock_irqrestore(&records_list_lock, flags);
        if (rc)
                return rc;
 
 
        d_add(dentry, inode);
 
-       spin_lock_irqsave(&allpstore_lock, flags);
-       list_add(&private->list, &allpstore);
-       spin_unlock_irqrestore(&allpstore_lock, flags);
+       spin_lock_irqsave(&records_list_lock, flags);
+       list_add(&private->list, &records_list);
+       spin_unlock_irqrestore(&records_list_lock, flags);
 
        return 0;