This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function eclone($entrytypeLabel = null, $id = null) { | |
/* Check for valid entry type */ | |
if (!$entrytypeLabel) { | |
$this->Session->setFlash(__d('webzash', 'Entry type not specified.'), 'danger'); | |
return $this->redirect(array('plugin' => 'webzash', 'controller' => 'entries', 'action' => 'index')); | |
} | |
$entrytype = $this->Entrytype->find('first', array('conditions' => array('Entrytype.label' => $entrytypeLabel))); | |
if (!$entrytype) { | |
$this->Session->setFlash(__d('webzash', 'Entry type not found.'), 'danger'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/kernel.h> | |
#include <linux/init.h> | |
#include <linux/module.h> | |
#include <linux/fs.h> | |
#include <linux/blkdev.h> | |
#include <linux/cdev.h> | |
#include <linux/kthread.h> | |
#include <linux/interrupt.h> | |
#include <linux/bio.h> | |
#include <linux/blkdev.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Demonstrate a trivial filesystem using libfs. | |
* | |
* Copyright 2002, 2003 Jonathan Corbet <[email protected]> | |
* This file may be redistributed under the terms of the GNU GPL. | |
* | |
* Chances are that this code will crash your system, delete your | |
* nethack high scores, and set your disk drives on fire. You have | |
* been warned. | |
*/ |