diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-08 15:19:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-08 15:19:57 -0500 |
commit | 972b2c719990f91eb3b2310d44ef8a2d38955a14 (patch) | |
tree | b25a250ec5bec4b7b6355d214642d8b57c5cab32 /drivers/acpi | |
parent | 02550d61f49266930e674286379d3601006b2893 (diff) | |
parent | c3aa077648e147783a7a53b409578234647db853 (diff) |
Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
* 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (165 commits)
reiserfs: Properly display mount options in /proc/mounts
vfs: prevent remount read-only if pending removes
vfs: count unlinked inodes
vfs: protect remounting superblock read-only
vfs: keep list of mounts for each superblock
vfs: switch ->show_options() to struct dentry *
vfs: switch ->show_path() to struct dentry *
vfs: switch ->show_devname() to struct dentry *
vfs: switch ->show_stats to struct dentry *
switch security_path_chmod() to struct path *
vfs: prefer ->dentry->d_sb to ->mnt->mnt_sb
vfs: trim includes a bit
switch mnt_namespace ->root to struct mount
vfs: take /proc/*/mounts and friends to fs/proc_namespace.c
vfs: opencode mntget() mnt_set_mountpoint()
vfs: spread struct mount - remaining argument of next_mnt()
vfs: move fsnotify junk to struct mount
vfs: move mnt_devname
vfs: move mnt_list to struct mount
vfs: switch pnode.h macros to struct mount *
...
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/battery.c | 2 | ||||
-rw-r--r-- | drivers/acpi/ec_sys.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 7711d94a0409..86933ca8b472 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -873,7 +873,7 @@ DECLARE_FILE_FUNCTIONS(alarm); | |||
873 | 873 | ||
874 | static const struct battery_file { | 874 | static const struct battery_file { |
875 | struct file_operations ops; | 875 | struct file_operations ops; |
876 | mode_t mode; | 876 | umode_t mode; |
877 | const char *name; | 877 | const char *name; |
878 | } acpi_battery_file[] = { | 878 | } acpi_battery_file[] = { |
879 | FILE_DESCRIPTION_RO(info), | 879 | FILE_DESCRIPTION_RO(info), |
diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c index 6c47ae9793a7..b258cab9061c 100644 --- a/drivers/acpi/ec_sys.c +++ b/drivers/acpi/ec_sys.c | |||
@@ -105,7 +105,7 @@ int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count) | |||
105 | { | 105 | { |
106 | struct dentry *dev_dir; | 106 | struct dentry *dev_dir; |
107 | char name[64]; | 107 | char name[64]; |
108 | mode_t mode = 0400; | 108 | umode_t mode = 0400; |
109 | 109 | ||
110 | if (ec_device_count == 0) { | 110 | if (ec_device_count == 0) { |
111 | acpi_ec_debugfs_dir = debugfs_create_dir("ec", NULL); | 111 | acpi_ec_debugfs_dir = debugfs_create_dir("ec", NULL); |