Commit 588bf52a authored by Tina Ruchandani's avatar Tina Ruchandani Committed by Greg Kroah-Hartman
Browse files

Staging: lustre: llite: Remove C99 '//' comments



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: default avatarTina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0fa3b9d3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 },
+1 −1
Original line number Diff line number Diff line
@@ -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,