+ crypto-switch-to-proc_create.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     crypto: switch to proc_create()
has been added to the -mm tree.  Its filename is
     crypto-switch-to-proc_create.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: crypto: switch to proc_create()
From: Alexey Dobriyan <adobriyan@xxxxx>

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxx>
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 crypto/proc.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff -puN crypto/proc.c~crypto-switch-to-proc_create crypto/proc.c
--- a/crypto/proc.c~crypto-switch-to-proc_create
+++ a/crypto/proc.c
@@ -99,11 +99,7 @@ static const struct file_operations proc
 
 void __init crypto_init_proc(void)
 {
-	struct proc_dir_entry *proc;
-	
-	proc = create_proc_entry("crypto", 0, NULL);
-	if (proc)
-		proc->proc_fops = &proc_crypto_ops;
+	proc_create("crypto", 0, NULL, &proc_crypto_ops);
 }
 
 void __exit crypto_exit_proc(void)
_

Patches currently in -mm which might be from adobriyan@xxxxx are

proc-print-more-information-when-removing-non-empty-directories.patch
single_open-seq_release-leak-diagnostics.patch
proc-switch-to-proc_create.patch
keys-switch-to-proc_create.patch
crypto-switch-to-proc_create.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux