Staging: lustre: llite: Remove C99 '//' comments
authorTina Ruchandani <ruchandani.tina@gmail.com>
Wed, 22 Oct 2014 19:16:04 +0000 (12:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2014 03:09:12 +0000 (11:09 +0800)
This patch fixes the following checkpatch.pl errors:

ERROR: do not use C99 // comments
538: FILE: drivers/staging/lustre/lustre/llite/rw26.c:538:
// .orig_aops.readpages      = ll_readpages,
816: FILE: drivers/staging/lustre/lustre/llite/lproc_llite.c:816:
//{ "mntpt_path",   ll_rd_path,      0, 0 },
826: FILE: drivers/staging/lustre/lustre/llite/lproc_llite.c:826:
//{ "filegroups",   lprocfs_rd_filegroups,  0, 0 },

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/lproc_llite.c
drivers/staging/lustre/lustre/llite/rw26.c

index 3b3df9f034221be08bb9fafc6c7539e3b8aad3b8..f175c59dc166ba028e8581342d90b74670e70a00 100644 (file)
@@ -813,7 +813,7 @@ LPROC_SEQ_FOPS(ll_xattr_cache);
 
 static struct lprocfs_vars lprocfs_llite_obd_vars[] = {
        { "uuid",         &ll_sb_uuid_fops,       NULL, 0 },
-       //{ "mntpt_path",   ll_rd_path,      0, 0 },
+       /* { "mntpt_path",   ll_rd_path,             0, 0 }, */
        { "fstype",       &ll_fstype_fops,        NULL, 0 },
        { "site",         &ll_site_stats_fops,    NULL, 0 },
        { "blocksize",    &ll_blksize_fops,       NULL, 0 },
@@ -823,7 +823,7 @@ static struct lprocfs_vars lprocfs_llite_obd_vars[] = {
        { "filestotal",   &ll_filestotal_fops,    NULL, 0 },
        { "filesfree",    &ll_filesfree_fops,     NULL, 0 },
        { "client_type",  &ll_client_type_fops,   NULL, 0 },
-       //{ "filegroups",   lprocfs_rd_filegroups,  0, 0 },
+       /* { "filegroups",   lprocfs_rd_filegroups,  0, 0 }, */
        { "max_read_ahead_mb", &ll_max_readahead_mb_fops, NULL },
        { "max_read_ahead_per_file_mb", &ll_max_readahead_per_file_mb_fops,
                NULL },
index eac2131e6b85db01a5e1d08d333c32eb7c033189..14441b4df9b5da4b75a8f55689a848416caf008c 100644 (file)
@@ -535,7 +535,7 @@ const struct address_space_operations ll_aops = {
 #else
 const struct address_space_operations_ext ll_aops = {
        .orig_aops.readpage       = ll_readpage,
-//     .orig_aops.readpages      = ll_readpages,
+/*     .orig_aops.readpages      = ll_readpages, */
        .orig_aops.direct_IO      = ll_direct_IO_26,
        .orig_aops.writepage      = ll_writepage,
        .orig_aops.writepages     = ll_writepages,