public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] use vfs-defined file attribute flags
Date: Thu, 14 Dec 2006 18:15:00 +0000	[thread overview]
Message-ID: <20061214181500.GA13856@infradead.org> (raw)
In-Reply-To: <45819221.70502@sandeen.net>

> -#define LINUX_XFLAG_SYNC	0x00000008 /* Synchronous updates */
> -#define LINUX_XFLAG_IMMUTABLE	0x00000010 /* Immutable file */
> -#define LINUX_XFLAG_APPEND	0x00000020 /* writes to file may only append */
> -#define LINUX_XFLAG_NODUMP	0x00000040 /* do not dump file */
> -#define LINUX_XFLAG_NOATIME	0x00000080 /* do not update atime */
> +#define LINUX_XFLAG_SYNC	FS_SYNC_FL	/* Synchronous updates */
> +#define LINUX_XFLAG_IMMUTABLE	FS_IMMUTABLE_FL	/* Immutable file */
> +#define LINUX_XFLAG_APPEND	FS_APPEND_FL	/* writes may only append */
> +#define LINUX_XFLAG_NODUMP	FS_NODUMP_FL	/* do not dump file */
> +#define LINUX_XFLAG_NOATIME	FS_NOATIME_FL	/* do not update atime */

Just kill the defines completly and use the FS_ flags.

>  
>  STATIC unsigned int
>  xfs_merge_ioc_xflags(
> 
> 
> 
> 
---end quoted text---

  reply	other threads:[~2006-12-14 18:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 18:04 [PATCH] use vfs-defined file attribute flags Eric Sandeen
2006-12-14 18:15 ` Christoph Hellwig [this message]
2006-12-14 18:18   ` Eric Sandeen
2006-12-14 18:21   ` Eric Sandeen
2006-12-19 16:53     ` Eric Sandeen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061214181500.GA13856@infradead.org \
    --to=hch@infradead.org \
    --cc=sandeen@sandeen.net \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox