]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - include/parent.h
xfs: fix off-by-one error in xfs_rtalloc_query_range
[thirdparty/xfsprogs-dev.git] / include / parent.h
1 /*
2 * Copyright (c) 2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 #ifndef __PARENT_H__
19 #define __PARENT_H__
20
21 typedef struct parent {
22 __u64 p_ino;
23 __u32 p_gen;
24 __u16 p_reclen;
25 char p_name[1];
26 } parent_t;
27
28 typedef struct parent_cursor {
29 __u32 opaque[4]; /* an opaque cookie */
30 } parent_cursor_t;
31
32 #endif