aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/exportfs.h
diff options
context:
space:
mode:
authorRasmus Rohde <rohde@duff.dk>2008-04-30 17:22:06 +0200
committerJan Kara <jack@suse.cz>2008-05-07 09:48:23 +0200
commit221e583a735fc5d879d83c2a76b8ee5afcbdf146 (patch)
tree332eaa88f4f814389262e68b17dea0b0e3b0820c /include/linux/exportfs.h
parent22ba0317c81ba263172baaefd2cb38de78c4598f (diff)
downloadkernel_samsung_aries-221e583a735fc5d879d83c2a76b8ee5afcbdf146.zip
kernel_samsung_aries-221e583a735fc5d879d83c2a76b8ee5afcbdf146.tar.gz
kernel_samsung_aries-221e583a735fc5d879d83c2a76b8ee5afcbdf146.tar.bz2
udf: Make udf exportable
Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Rasmus Rohde <rohde@duff.dk> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/exportfs.h')
-rw-r--r--include/linux/exportfs.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h
index de8387b..f5abd13 100644
--- a/include/linux/exportfs.h
+++ b/include/linux/exportfs.h
@@ -33,6 +33,19 @@ enum fid_type {
* 32 bit parent directory inode number.
*/
FILEID_INO32_GEN_PARENT = 2,
+
+ /*
+ * 32 bit block number, 16 bit partition reference,
+ * 16 bit unused, 32 bit generation number.
+ */
+ FILEID_UDF_WITHOUT_PARENT = 0x51,
+
+ /*
+ * 32 bit block number, 16 bit partition reference,
+ * 16 bit unused, 32 bit generation number,
+ * 32 bit parent block number, 32 bit parent generation number
+ */
+ FILEID_UDF_WITH_PARENT = 0x52,
};
struct fid {
@@ -43,6 +56,14 @@ struct fid {
u32 parent_ino;
u32 parent_gen;
} i32;
+ struct {
+ u32 block;
+ u16 partref;
+ u16 parent_partref;
+ u32 generation;
+ u32 parent_block;
+ u32 parent_generation;
+ } udf;
__u32 raw[0];
};
};