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/infiniband/core | |
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/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/cm.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/core/user_mad.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/core/uverbs_main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c index 8b72f39202fb..c889aaef3416 100644 --- a/drivers/infiniband/core/cm.c +++ b/drivers/infiniband/core/cm.c | |||
@@ -3659,7 +3659,7 @@ static struct kobj_type cm_port_obj_type = { | |||
3659 | .release = cm_release_port_obj | 3659 | .release = cm_release_port_obj |
3660 | }; | 3660 | }; |
3661 | 3661 | ||
3662 | static char *cm_devnode(struct device *dev, mode_t *mode) | 3662 | static char *cm_devnode(struct device *dev, umode_t *mode) |
3663 | { | 3663 | { |
3664 | if (mode) | 3664 | if (mode) |
3665 | *mode = 0666; | 3665 | *mode = 0666; |
diff --git a/drivers/infiniband/core/user_mad.c b/drivers/infiniband/core/user_mad.c index 07db22997e97..f0d588f8859e 100644 --- a/drivers/infiniband/core/user_mad.c +++ b/drivers/infiniband/core/user_mad.c | |||
@@ -1175,7 +1175,7 @@ static void ib_umad_remove_one(struct ib_device *device) | |||
1175 | kref_put(&umad_dev->ref, ib_umad_release_dev); | 1175 | kref_put(&umad_dev->ref, ib_umad_release_dev); |
1176 | } | 1176 | } |
1177 | 1177 | ||
1178 | static char *umad_devnode(struct device *dev, mode_t *mode) | 1178 | static char *umad_devnode(struct device *dev, umode_t *mode) |
1179 | { | 1179 | { |
1180 | return kasprintf(GFP_KERNEL, "infiniband/%s", dev_name(dev)); | 1180 | return kasprintf(GFP_KERNEL, "infiniband/%s", dev_name(dev)); |
1181 | } | 1181 | } |
diff --git a/drivers/infiniband/core/uverbs_main.c b/drivers/infiniband/core/uverbs_main.c index 879636746373..604556d73d25 100644 --- a/drivers/infiniband/core/uverbs_main.c +++ b/drivers/infiniband/core/uverbs_main.c | |||
@@ -846,7 +846,7 @@ static void ib_uverbs_remove_one(struct ib_device *device) | |||
846 | kfree(uverbs_dev); | 846 | kfree(uverbs_dev); |
847 | } | 847 | } |
848 | 848 | ||
849 | static char *uverbs_devnode(struct device *dev, mode_t *mode) | 849 | static char *uverbs_devnode(struct device *dev, umode_t *mode) |
850 | { | 850 | { |
851 | if (mode) | 851 | if (mode) |
852 | *mode = 0666; | 852 | *mode = 0666; |