xfs
[Top] [All Lists]

Re: [REVIEW #2] cleanup - remove bhv_vname_t

To: "Christoph Hellwig" <hch@xxxxxxxxxxxxx>
Subject: Re: [REVIEW #2] cleanup - remove bhv_vname_t
From: "Barry Naujok" <bnaujok@xxxxxxx>
Date: Wed, 09 Apr 2008 14:01:45 +1000
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>, xfs-dev <xfs-dev@xxxxxxx>
In-reply-to: <20080408085153.GA19699@infradead.org>
Organization: SGI
References: <op.t897ipuu3jf8g2@pc-bnaujok.melbourne.sgi.com> <20080408085153.GA19699@infradead.org>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Opera Mail/9.24 (Win32)
On Tue, 08 Apr 2008 18:51:53 +1000, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

--- kern_ci.orig/fs/xfs/xfs_dir2.h
+++ kern_ci/fs/xfs/xfs_dir2.h
@@ -60,6 +60,16 @@ typedef      __uint32_t      xfs_dir2_db_t;
 typedef        xfs_off_t       xfs_dir2_off_t;

 /*
+ * Counted string for file names.
+ */
+struct xfs_name {
+       const char      *name;
+       int             len;
+};
+
+extern struct xfs_name xfs_name_dotdot;

I think these should be in a different header as they are used a lot outside the low-level directory code.

xfs_types.h ?


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