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 41CE829E0F for ; Tue, 21 May 2013 18:40:26 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay2.corp.sgi.com (Postfix) with ESMTP id 17831304032 for ; Tue, 21 May 2013 16:40:26 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id bQ07sx3qRB2S6RvF for ; Tue, 21 May 2013 16:40:25 -0700 (PDT) Date: Tue, 21 May 2013 19:40:16 -0400 From: Dave Jones Subject: Re: XFS assertion from truncate. (3.10-rc2) Message-ID: <20130521234016.GB14347@redhat.com> References: <20130521225257.GA12713@redhat.com> <20130521233429.GW29466@dastard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130521233429.GW29466@dastard> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: Linux Kernel , xfs@oss.sgi.com On Wed, May 22, 2013 at 09:34:29AM +1000, Dave Chinner wrote: > On Tue, May 21, 2013 at 06:52:57PM -0400, Dave Jones wrote: > > [ 464.210598] XFS: Assertion failed: (mask & (ATTR_MODE|ATTR_UID|ATTR_GID|ATTR_ATIME|ATTR_ATIME_SET| ATTR_MTIME_SET|ATTR_KILL_SUID|ATTR_KILL_SGID| ATTR_KILL_PRIV|ATTR_TIMES_SET)) == 0, file: fs/xfs/xfs_iops.c, line: 719 > > Never seen that fire before, but this is why we have ASSERT()s like > this - we're being handed something by the VFS we don't expect... > > Can you give me some context of the file permissions before the > syscall and what the syscall parameters are? i.e. is this likely to > be trying to strip SUID/SGID during the truncate operation? no idea tbh. Is there something I can add to that assert to dump which file it was triggered by ? Dave _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs