xfs
[Top] [All Lists]

[PATCH] xfs_io: add missing break in O_TMPFILE case

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfs_io: add missing break in O_TMPFILE case
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Thu, 27 Feb 2014 14:16:49 -0600
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
Coverity spotted this.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

(I assume that -T isn't supposed to imply -x?)

diff --git a/io/init.c b/io/init.c
index fd1a52f..1e2690e 100644
--- a/io/init.c
+++ b/io/init.c
@@ -181,6 +181,7 @@ init(
                        break;
                case 'T':
                        flags |= IO_TMPFILE;
+                       break;
                case 'x':
                        expert = 1;
                        break;

<Prev in Thread] Current Thread [Next in Thread>