block.c typo in comment fixed
PATCH 1/1 block.c typo in comment fixed
From: Matthias Brugger <[email protected]>
--- block.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
block.c +1 -1
@@ -497,7 +497,7 @@ static int bdrv_open_common(BlockDriverState *bs, const char *filename, open_flags = flags & ~(BDRV_O_SNAPSHOT |BDRV_O_NO_BACKING );/* -* Snapshots should be writable. +* Snapshots should be writeable. */ if (bs->is_temporary) { open_flags |=BDRV_O_RDWR ;
Signature · 1 line
1.7.1
Am 01.11.2011 02:36, schrieb [email protected]:
Quoted 13 lines
From: Matthias Brugger<[email protected]>
Signed-off-by Matthias Brugger<[email protected]>--- block.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)block.c +0
-0
block.c static int bdrv_open_common(BlockDriverState *bs, const char *filename, · line 503
Quoted 8 lines
block.c +1
-1@@ -497,7 +497,7 @@ static int bdrv_open_common(BlockDriverState *bs, const char *filename, open_flags = flags& ~(BDRV_O_SNAPSHOT |BDRV_O_NO_BACKING );/* -* Snapshots should be writable. +* Snapshots should be writeable. */ if (bs->is_temporary) { open_flags |=BDRV_O_RDWR ;
Hi Matthias,
both writable and writeable seem to be correct,
but http://oxforddictionaries.com/ says that writable is the only correct spelling.
Therefore your patch should not be used.
Cheers,
Stefan
Quoted 7 lines · On Tue, Nov 01, 2011 at 01:36:42AM +0000, [email protected] wrote:
From: Matthias Brugger <[email protected]>
Signed-off-by Matthias Brugger <[email protected]>--- block.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
"Writable" is also a common spelling. Try git grep writable and compare against git grep writeable. In qemu.git "writable" actually dominates by a large majority so we should leave this alone.
Stefan
Quoted 9 lines · Stefan Hajnoczi
Quoted 7 lines · On Tue, Nov 01, 2011 at 01:36:42AM +0000, [email protected] wrote:
From: Matthias Brugger<[email protected]>
Signed-off-by Matthias Brugger<[email protected]>--- block.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 5 lines
"Writable" is also a common spelling. Try git grep writable and compare against git grep writeable. In qemu.git "writable" actually dominates by a large majority so we should leave this alone.
Stefan
Alright, I didn't know that. Sorry for the noise.
Regards,
Matthias
Signature · 2 lines
--- http://motzblog.wordpress.com/