]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
sctp: rename sctp_diag.c as diag.c
authorXin Long <lucien.xin@gmail.com>
Tue, 13 Feb 2018 11:33:20 +0000 (19:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 18:56:31 +0000 (13:56 -0500)
Remove 'sctp_' prefix for diag file, to keep consistent with other
files' names.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/Makefile
net/sctp/diag.c [moved from net/sctp/sctp_diag.c with 100% similarity]

index 6776582ec4490dd41607a4fc4a0e3196ae262208..e845e4588535203373a9693c371b77d0f7575a58 100644 (file)
@@ -15,6 +15,8 @@ sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
          offload.o stream_sched.o stream_sched_prio.o \
          stream_sched_rr.o stream_interleave.o
 
+sctp_diag-y := diag.o
+
 sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
 sctp-$(CONFIG_PROC_FS) += proc.o
 sctp-$(CONFIG_SYSCTL) += sysctl.o
similarity index 100%
rename from net/sctp/sctp_diag.c
rename to net/sctp/diag.c