From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id AFCEB29DFB for ; Tue, 6 Aug 2013 11:12:19 -0500 (CDT) Message-ID: <52012062.7030803@sgi.com> Date: Tue, 06 Aug 2013 11:12:18 -0500 From: Mark Tinguely MIME-Version: 1.0 Subject: Re: [PATCH 38/49] xfs: remove __KERNEL__ check from xfs_dir2_leaf.c References: <1374216324-8781-1-git-send-email-david@fromorbit.com> <1374216324-8781-39-git-send-email-david@fromorbit.com> In-Reply-To: <1374216324-8781-39-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com On 07/19/13 01:45, Dave Chinner wrote: > From: Dave Chinner > > It's actually an ifndef section, which means it is only included in > userspace. however, it's deep within the libxfs code, so it's > unlikely that the condition checked in userspace can actually occur > (search an empty leaf) through the libxfs interfaces. i.e. if it can > happen in usrspace, it can happen in the kernel, so remove it from > userspace too.... > > Signed-off-by: Dave Chinner > --- user equivalent of the for Linux 3.12 kernel patch 31/49. compares okay to the kernel patch. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs