Merge 3.12-rc3 into driver-core-next
We want the driver core and sysfs fixes in here to make merges and development easier. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -1006,10 +1006,7 @@ const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj)
|
||||
|
||||
bool kobj_ns_current_may_mount(enum kobj_ns_type type)
|
||||
{
|
||||
bool may_mount = false;
|
||||
|
||||
if (type == KOBJ_NS_TYPE_NONE)
|
||||
return true;
|
||||
bool may_mount = true;
|
||||
|
||||
spin_lock(&kobj_ns_type_lock);
|
||||
if ((type > KOBJ_NS_TYPE_NONE) && (type < KOBJ_NS_TYPES) &&
|
||||
|
Reference in New Issue
Block a user