X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fncpfs%2Fncplib_kernel.h;h=7edb9e1315b9f6c5bfa426b2bc9847734c4570ea;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=c702f3bc4184efb25a1fa2a029171dfb2fc70d07;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/fs/ncpfs/ncplib_kernel.h b/fs/ncpfs/ncplib_kernel.h index c702f3bc4..7edb9e131 100644 --- a/fs/ncpfs/ncplib_kernel.h +++ b/fs/ncpfs/ncplib_kernel.h @@ -56,7 +56,7 @@ static inline int ncp_read_bounce_size(__u32 size) { return sizeof(struct ncp_reply_header) + 2 + 2 + size + 8; }; int ncp_read_bounce(struct ncp_server *, const char *, __u32, __u16, - char *, int *, void* bounce, __u32 bouncelen); + char __user *, int *, void* bounce, __u32 bouncelen); int ncp_read_kernel(struct ncp_server *, const char *, __u32, __u16, char *, int *); int ncp_write_kernel(struct ncp_server *, const char *, __u32, __u16, @@ -70,7 +70,9 @@ void ncp_extract_file_info(void* src, struct nw_info_struct* target); int ncp_obtain_info(struct ncp_server *server, struct inode *, char *, struct nw_info_struct *target); int ncp_obtain_nfs_info(struct ncp_server *server, struct nw_info_struct *target); -int ncp_lookup_volume(struct ncp_server *, char *, struct nw_info_struct *); +int ncp_get_volume_root(struct ncp_server *server, const char *volname, + __u32 *volume, __u32 *dirent, __u32 *dosdirent); +int ncp_lookup_volume(struct ncp_server *, const char *, struct nw_info_struct *); int ncp_modify_file_or_subdir_dos_info(struct ncp_server *, struct inode *, __u32, const struct nw_modify_dos_info *info); int ncp_modify_file_or_subdir_dos_info_path(struct ncp_server *, struct inode *, @@ -111,8 +113,8 @@ ncp_ClearPhysicalRecord(struct ncp_server *server, #endif /* CONFIG_NCPFS_IOCTL_LOCKING */ int -ncp_mount_subdir(struct ncp_server *, struct nw_info_struct *, - __u8, __u8, __u32); +ncp_mount_subdir(struct ncp_server *, __u8, __u8, __u32, + __u32* volume, __u32* dirent, __u32* dosdirent); int ncp_dirhandle_alloc(struct ncp_server *, __u8 vol, __u32 dirent, __u8 *dirhandle); int ncp_dirhandle_free(struct ncp_server *, __u8 dirhandle);