Hi all,
 
When I tried to mount yaffs2 with two options "no-checkpoint-read" "no-checkpoint-write" together on linux-2.6.22, I got failed:
 
  " # mount -t yaffs2 -o no-checkpoint-read,no-checkpoint-write    /dev/mtdblock9    /mnt/yaffs/
      yaffs: Bad mount option " "
      mount: Mounting /dev/mtdblock9 on /mnt/yaffs/ failed: Invalid argument "
 
Both "no-checkpoint-read" and  "no-checkpoint-write" are supported by yaffs2,  but  yaffs_parse_options failed to parse them.  Seems yaffs_parse_options cann't skip the comma. I attached a patch to fix this bug.
 
 
----------
  Jiangli
   
  
 
  
 



你 玩 过 大 富 翁 吗 ?使 用 邮 箱 积 分 兑 换 道 具 ,点 击 这 里 >>