lkml.org 
[lkml]   [2006]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 32/35] Unionfs: Include file

On Dec 4 2006 07:31, Josef 'Jeff' Sipek wrote:

>Date: Mon, 4 Dec 2006 07:31:05 -0500
>From: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
>To: linux-kernel@vger.kernel.org
>Cc: torvalds@osdl.org, akpm@osdl.org, hch@infradead.org, viro@ftp.linux.org.uk,
> linux-fsdevel@vger.kernel.org, mhalcrow@us.ibm.com,
> Josef Jeff Sipek <jsipek@cs.sunysb.edu>
>Subject: [PATCH 32/35] Unionfs: Include file
>
>From: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
>
>Global include file - can be included from userspace by utilities.
>
>Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
>Signed-off-by: David Quigley <dquigley@fsl.cs.sunysb.edu>
>Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
>---
> include/linux/union_fs.h | 20 ++++++++++++++++++++
> 1 files changed, 20 insertions(+), 0 deletions(-)
>
>diff --git a/include/linux/union_fs.h b/include/linux/union_fs.h
>new file mode 100644
>index 0000000..e76d3cf
>--- /dev/null
>+++ b/include/linux/union_fs.h
>@@ -0,0 +1,20 @@
>+#ifndef _LINUX_UNION_FS_H
>+#define _LINUX_UNION_FS_H
>+
>+#define UNIONFS_VERSION "2.0"
>+/*
>+ * DEFINITIONS FOR USER AND KERNEL CODE:
>+ * (Note: ioctl numbers 1--9 are reserved for fistgen, the rest
>+ * are auto-generated automatically based on the user's .fist file.)
>+ */

FIST is not used here so is this comment still appropriate?


>+# define UNIONFS_IOCTL_INCGEN _IOR(0x15, 11, int)
>+# define UNIONFS_IOCTL_QUERYFILE _IOR(0x15, 15, int)
>+
>+/* We don't support normal remount, but unionctl uses it. */
>+# define UNIONFS_REMOUNT_MAGIC 0x4a5a4380
>+
>+/* should be at least LAST_USED_UNIONFS_PERMISSION<<1 */
>+#define MAY_NFSRO 16
>+
>+#endif /* _LINUX_UNIONFS_H */
>+

-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-12-07 12:11    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site