| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 1/5] xfs_io: detect the '-R' option in getopt |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Fri, 22 Jan 2016 16:35:02 -0800 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| User-agent: | StGit/0.17.1-dirty |
Configure getopt to accept the -R argument to pwrite.
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
io/pwrite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/io/pwrite.c b/io/pwrite.c
index fd9114d..c6efee9 100644
--- a/io/pwrite.c
+++ b/io/pwrite.c
@@ -259,7 +259,7 @@ pwrite_f(
init_cvtnum(&fsblocksize, &fssectsize);
bsize = fsblocksize;
- while ((c = getopt(argc, argv, "b:Cdf:i:qs:S:uV:wWZ:")) != EOF) {
+ while ((c = getopt(argc, argv, "b:Cdf:i:qRs:S:uV:wWZ:")) != EOF) {
switch (c) {
case 'b':
tmp = cvtnum(fsblocksize, fssectsize, optarg);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/3] xfs: check sizes of XFS on-disk structures at compile time, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 2/5] libxfs: refactor the btree size calculator code, Darrick J. Wong |
| Previous by Thread: | [PATCH 0/3] xfs: miscellaneous bugfixes, Darrick J. Wong |
| Next by Thread: | [PATCH 2/5] libxfs: refactor the btree size calculator code, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |