aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/reiserfs_fs.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-08-29 14:06:18 -0400
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-09-30 14:52:28 -0400
commit52b499c438ff60991eb3855ca090782569b3e8cf (patch)
treece6dde5d3488a0ba0497c4c49d99d3b94ce921c0 /include/linux/reiserfs_fs.h
parent36695673b012096228ebdc1b39a6a5850daa474e (diff)
[PATCH] BLOCK: Move the ReiserFS device ioctl compat stuff to the ReiserFS driver [try #6]
Move the ReiserFS device ioctl compat stuff from fs/compat_ioctl.c to the ReiserFS driver so that the ReiserFS header file doesn't need to be included. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/reiserfs_fs.h')
-rw-r--r--include/linux/reiserfs_fs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h
index 0100d6d1d84c..9c63abffd7b2 100644
--- a/include/linux/reiserfs_fs.h
+++ b/include/linux/reiserfs_fs.h
@@ -2161,6 +2161,8 @@ __u32 r5_hash(const signed char *msg, int len);
2161/* prototypes from ioctl.c */ 2161/* prototypes from ioctl.c */
2162int reiserfs_ioctl(struct inode *inode, struct file *filp, 2162int reiserfs_ioctl(struct inode *inode, struct file *filp,
2163 unsigned int cmd, unsigned long arg); 2163 unsigned int cmd, unsigned long arg);
2164long reiserfs_compat_ioctl(struct file *filp,
2165 unsigned int cmd, unsigned long arg);
2164 2166
2165/* ioctl's command */ 2167/* ioctl's command */
2166#define REISERFS_IOC_UNPACK _IOW(0xCD,1,long) 2168#define REISERFS_IOC_UNPACK _IOW(0xCD,1,long)
@@ -2171,6 +2173,13 @@ int reiserfs_ioctl(struct inode *inode, struct file *filp,
2171#define REISERFS_IOC_GETVERSION FS_IOC_GETVERSION 2173#define REISERFS_IOC_GETVERSION FS_IOC_GETVERSION
2172#define REISERFS_IOC_SETVERSION FS_IOC_SETVERSION 2174#define REISERFS_IOC_SETVERSION FS_IOC_SETVERSION
2173 2175
2176/* the 32 bit compat definitions with int argument */
2177#define REISERFS_IOC32_UNPACK _IOW(0xCD, 1, int)
2178#define REISERFS_IOC32_GETFLAGS FS_IOC32_GETFLAGS
2179#define REISERFS_IOC32_SETFLAGS FS_IOC32_SETFLAGS
2180#define REISERFS_IOC32_GETVERSION FS_IOC32_GETVERSION
2181#define REISERFS_IOC32_SETVERSION FS_IOC32_SETVERSION
2182
2174/* Locking primitives */ 2183/* Locking primitives */
2175/* Right now we are still falling back to (un)lock_kernel, but eventually that 2184/* Right now we are still falling back to (un)lock_kernel, but eventually that
2176 would evolve into real per-fs locks */ 2185 would evolve into real per-fs locks */