xfs
[Top] [All Lists]

typo in XFS_IOC_GETXFLAGS?

To: linux-xfs@xxxxxxxxxxx
Subject: typo in XFS_IOC_GETXFLAGS?
From: Herbert Poetzl <herbert@xxxxxxxxxxxx>
Date: Mon, 3 May 2004 23:58:41 +0200
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
Hi Folks!

xfs_ioc_xattr() uses in XFS_IOC_GETXFLAGS the
XFS_XFLAG_* defines for di_flags comparison, 
shouldn't that be XFS_DIFLAG_IMMUTABLE and 
friends instead?

                if (ip->i_d.di_flags & XFS_XFLAG_IMMUTABLE)
                        flags |= LINUX_XFLAG_IMMUTABLE;
                if (ip->i_d.di_flags & XFS_XFLAG_APPEND)
                        flags |= LINUX_XFLAG_APPEND;

TIA,
Herbert


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