[Devel] [PATCH RHEL7 COMMIT] ve/cgroups: Align ve_cftypes assignments

Konstantin Khorenko khorenko at odin.com
Wed May 20 07:42:15 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.5
------>
commit 02207c56afb730264fd115d6d988ce7607295587
Author: Cyrill Gorcunov <gorcunov at odin.com>
Date:   Wed May 20 18:42:15 2015 +0400

    ve/cgroups: Align ve_cftypes assignments
    
    For readability sake. We've other aligned already.
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at odin.com>
---
 kernel/ve/ve.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/kernel/ve/ve.c b/kernel/ve/ve.c
index f4af6d2..fe34068 100644
--- a/kernel/ve/ve.c
+++ b/kernel/ve/ve.c
@@ -1159,16 +1159,16 @@ static struct cftype ve_cftypes[] = {
 		.private		= VE_CF_FEATURES,
 	},
 	{
-		.name = "mount_opts",
-		.flags = CFTYPE_NOT_ON_ROOT,
-		.write_string = ve_mount_opts_write,
+		.name			= "mount_opts",
+		.flags			= CFTYPE_NOT_ON_ROOT,
+		.write_string		= ve_mount_opts_write,
 	},
 	{
-		.name = "os_release",
-		.max_write_len = __NEW_UTS_LEN + 1,
-		.flags = CFTYPE_NOT_ON_ROOT,
-		.read_seq_string = ve_os_release_read,
-		.write_string = ve_os_release_write,
+		.name			= "os_release",
+		.max_write_len		= __NEW_UTS_LEN + 1,
+		.flags			= CFTYPE_NOT_ON_ROOT,
+		.read_seq_string	= ve_os_release_read,
+		.write_string		= ve_os_release_write,
 	},
 	{
 		.name			= "iptables_mask",



More information about the Devel mailing list