From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Mon, 25 Jul 2011 13:18:47 -0400 (EDT) Subject: [Cluster-devel] [PATCH RHEL6 1/2] tunegfs2: Ensure we don't try to open a null device In-Reply-To: <1311613384-24929-1-git-send-email-anprice@redhat.com> Message-ID: <1201055384.254059.1311614327387.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | This is based on upstream commit | a830c8747cf7dcc899dc92ad13c3a3b1a3738092 | | Return codes are now taken from sysexits.h rather than trying to pass | negative | errno values as per kernel code. There is not an exact error code for | all | potential events, but they are close enough I think. | | The code also checks that there is exactly one non-option argument | (i.e. the | device) given before attempting to open it. | | rhbz#719124 | | Signed-off-by: Andrew Price | Signed-off-by: Steven Whitehouse | Reported-by: Nathan Straz Hi, Looks good. ACK. Bob Peterson Red Hat File Systems