mirror of https://gitee.com/openkylin/linux.git
staging: lustre: socklnd: Add a required space
Added a required space before open brace and parenthsis in socklnd.c to meet kernel coding style. Signed-off-by: Masaru Nomura <massa.nomura@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a1f659d41e
commit
991cc8d611
|
@ -1567,7 +1567,7 @@ ksocknal_terminate_conn (ksock_conn_t *conn)
|
||||||
conn->ksnc_tx_ready = 1;
|
conn->ksnc_tx_ready = 1;
|
||||||
|
|
||||||
if (!conn->ksnc_tx_scheduled &&
|
if (!conn->ksnc_tx_scheduled &&
|
||||||
!list_empty(&conn->ksnc_tx_queue)){
|
!list_empty(&conn->ksnc_tx_queue)) {
|
||||||
list_add_tail (&conn->ksnc_tx_list,
|
list_add_tail (&conn->ksnc_tx_list,
|
||||||
&sched->kss_tx_conns);
|
&sched->kss_tx_conns);
|
||||||
conn->ksnc_tx_scheduled = 1;
|
conn->ksnc_tx_scheduled = 1;
|
||||||
|
@ -2094,7 +2094,7 @@ ksocknal_ctl(lnet_ni_t *ni, unsigned int cmd, void *arg)
|
||||||
struct libcfs_ioctl_data *data = arg;
|
struct libcfs_ioctl_data *data = arg;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
switch(cmd) {
|
switch (cmd) {
|
||||||
case IOC_LIBCFS_GET_INTERFACE: {
|
case IOC_LIBCFS_GET_INTERFACE: {
|
||||||
ksock_net_t *net = ni->ni_data;
|
ksock_net_t *net = ni->ni_data;
|
||||||
ksock_interface_t *iface;
|
ksock_interface_t *iface;
|
||||||
|
|
Loading…
Reference in New Issue