| To: | hch@xxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 5/5] _populate_fs should use OPTIND when getopts is used |
| From: | Anand Jain <Anand.Jain@xxxxxxxxxx> |
| Date: | Thu, 20 Oct 2011 23:41:22 +0800 |
| Cc: | Anand Jain <Anand.Jain@xxxxxxxxxx> |
| In-reply-to: | <1319125282-17062-1-git-send-email-Anand.Jain@xxxxxxxxxx> |
| References: | <1318919336-32206-1-git-send-email-Anand.Jain@xxxxxxxxxx> <1319125282-17062-1-git-send-email-Anand.Jain@xxxxxxxxxx> |
Signed-off-by: Anand Jain <Anand.Jain@xxxxxxxxxx>
---
common.rc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/common.rc b/common.rc
index e3c4e67..cab0b64 100644
--- a/common.rc
+++ b/common.rc
@@ -1547,6 +1547,7 @@ _populate_fs()
root=root # path of initial root of directory tree
randomdata=false # -x data type urandom or zero
+ OPTIND=1
while getopts "d:f:n:r:s:v:x" c
do
case $c in
--
1.7.7
|
| Previous by Date: | [PATCH 3/5] 264: Functional test case for the btrfs snapshot, Anand Jain |
|---|---|
| Next by Date: | [PATCH 4/5] 265: Functional test case for the btrfs raid operations, Anand Jain |
| Previous by Thread: | Re: [PATCH 3/5] 264: Functional test case for the btrfs snapshot, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 5/5] _populate_fs should use OPTIND when getopts is used, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |