OSDN Git Service

staging/lustre/ptlrpc: Get rid of /proc references in comments
authorOleg Drokin <green@linuxhacker.ru>
Tue, 16 Feb 2016 05:46:33 +0000 (00:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:33:11 +0000 (14:33 -0800)
Now that the sysfs conversion is complete, also convert all the
remaining comments

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_dlm.h
drivers/staging/lustre/lustre/include/lustre_net.h
drivers/staging/lustre/lustre/ptlrpc/recover.c
drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c

index 9b319f1..11a841a 100644 (file)
@@ -373,7 +373,7 @@ struct ldlm_namespace {
 
        /**
         * Namespace connect flags supported by server (may be changed via
-        * /proc, LRU resize may be disabled/enabled).
+        * sysfs, LRU resize may be disabled/enabled).
         */
        __u64                   ns_connect_flags;
 
index d834ddd..d9c7267 100644 (file)
@@ -1947,7 +1947,7 @@ struct ptlrpc_service_ops {
  * or general metadata service for MDS.
  */
 struct ptlrpc_service {
-       /** serialize /proc operations */
+       /** serialize sysfs operations */
        spinlock_t                      srv_lock;
        /** most often accessed fields */
        /** chain thru all services */
index db6626c..4359cac 100644 (file)
@@ -260,7 +260,7 @@ void ptlrpc_request_handle_notconn(struct ptlrpc_request *failed_req)
  * Administratively active/deactive a client.
  * This should only be called by the ioctl interface, currently
  *  - the lctl deactivate and activate commands
- *  - echo 0/1 >> /proc/osc/XXX/active
+ *  - echo 0/1 >> /sys/fs/lustre/osc/XXX/active
  *  - client umount -f (ll_umount_begin)
  */
 int ptlrpc_set_import_active(struct obd_import *imp, int active)
index 22621c7..52a6c51 100644 (file)
@@ -120,7 +120,7 @@ static struct ptlrpc_enc_page_pool {
 } page_pools;
 
 /*
- * /proc/fs/lustre/sptlrpc/encrypt_page_pools
+ * /sys/kernel/debug/lustre/sptlrpc/encrypt_page_pools
  */
 int sptlrpc_proc_enc_pool_seq_show(struct seq_file *m, void *v)
 {