xfs
[Top] [All Lists]

Re: [PATCH 02/10] xfs: Fix open flag handling in open_by_handle code

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 02/10] xfs: Fix open flag handling in open_by_handle code
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Tue, 13 Mar 2012 16:15:37 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1331095828-28742-3-git-send-email-david@xxxxxxxxxxxxx>
References: <1331095828-28742-1-git-send-email-david@xxxxxxxxxxxxx> <1331095828-28742-3-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 03/06/12 22:50, Dave Chinner wrote:
From: Dave Chinner<dchinner@xxxxxxxxxx>

Sparse identified some unsafe handling of open flags in the xfs open
by handle ioctl code. Update the code to use the correct access
macros to ensure that we handle the open flags correctly.

Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx>
---

Looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

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