[PATCH 2/6] afs: fix wrong comment about volume type

Yuanhan Liu yliu.null at gmail.com
Fri Jun 22 12:09:02 EDT 2012


The code comment is quite confusing, and according the code, it's
R/W volume for leading '#' if rwpath=1.

Signed-off-by: Yuanhan Liu <yliu.null at gmail.com>
---
 fs/afs/super.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fs/afs/super.c b/fs/afs/super.c
index f02b31e..459f1c5 100644
--- a/fs/afs/super.c
+++ b/fs/afs/super.c
@@ -188,8 +188,7 @@ static int afs_parse_options(struct afs_mount_params *params,
  * selector
  * - this can be one of the following:
  *	"%[cell:]volume[.]"		R/W volume
- *	"#[cell:]volume[.]"		R/O or R/W volume (rwpath=0),
- *					 or R/W (rwpath=1) volume
+ *	"#[cell:]volume[.]"		R/O or R/W(rwpath=1) volume
  *	"%[cell:]volume.readonly"	R/O volume
  *	"#[cell:]volume.readonly"	R/O volume
  *	"%[cell:]volume.backup"		Backup volume
-- 
1.7.4.4




More information about the linux-afs mailing list