]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/char_dev.c
[PATCH] SELinux: memory leak in selinux_sb_copy_data()
[linux-2.6-omap-h63xx.git] / fs / char_dev.c
index a745b1d9e5458684205c38da349d7e850ff66d81..c1e3537909fc1ae78f829220700810b78f371480 100644 (file)
@@ -328,7 +328,7 @@ void cd_forget(struct inode *inode)
        spin_unlock(&cdev_lock);
 }
 
-void cdev_purge(struct cdev *cdev)
+static void cdev_purge(struct cdev *cdev)
 {
        spin_lock(&cdev_lock);
        while (!list_empty(&cdev->list)) {