Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev debugfs: Modify default debugfs directory for debugging pktcdvd. debugfs: Modified default dir of debugfs for debugging UHCI. debugfs: Change debugfs directory of IWMC3200 debugfs: Change debuhgfs directory of trace-events-sample.h debugfs: Fix mount directory of debugfs by default in events.txt hpilo: add poll f_op hpilo: add interrupt handler hpilo: staging for interrupt handling driver core: platform_device_add_data(): use kmemdup() Driver core: Add support for compatibility classes uio: add generic driver for PCI 2.3 devices driver-core: move dma-coherent.c from kernel to driver/base mem_class: fix bug mem_class: use minor as index instead of searching the array driver model: constify attribute groups UIO: remove 'default n' from Kconfig Driver core: Add accessor for device platform data Driver core: move dev_get/set_drvdata to drivers/base/dd.c Driver core: add new device to bus's list before probing
This commit is contained in:
@@ -2298,8 +2298,7 @@ static void shmem_put_super(struct super_block *sb)
|
||||
sb->s_fs_info = NULL;
|
||||
}
|
||||
|
||||
static int shmem_fill_super(struct super_block *sb,
|
||||
void *data, int silent)
|
||||
int shmem_fill_super(struct super_block *sb, void *data, int silent)
|
||||
{
|
||||
struct inode *inode;
|
||||
struct dentry *root;
|
||||
@@ -2519,7 +2518,7 @@ static struct file_system_type tmpfs_fs_type = {
|
||||
.kill_sb = kill_litter_super,
|
||||
};
|
||||
|
||||
static int __init init_tmpfs(void)
|
||||
int __init init_tmpfs(void)
|
||||
{
|
||||
int error;
|
||||
|
||||
@@ -2576,7 +2575,7 @@ static struct file_system_type tmpfs_fs_type = {
|
||||
.kill_sb = kill_litter_super,
|
||||
};
|
||||
|
||||
static int __init init_tmpfs(void)
|
||||
int __init init_tmpfs(void)
|
||||
{
|
||||
BUG_ON(register_filesystem(&tmpfs_fs_type) != 0);
|
||||
|
||||
@@ -2687,5 +2686,3 @@ int shmem_zero_setup(struct vm_area_struct *vma)
|
||||
vma->vm_ops = &shmem_vm_ops;
|
||||
return 0;
|
||||
}
|
||||
|
||||
module_init(init_tmpfs)
|
||||
|
Reference in New Issue
Block a user