mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
d5880f97c5
old dmfs-lv.c thats gone. o Dropped out support for multiple tables in line with ioctl interface o Some reordering to better support the userland library o Updated to 2.4.16 I'm fairly happy with the way that this is working now, so the next job is to start the integration with the ioctl interface so there is a single common dm.[ch] and selectable interfaces (fs or ioctl). Further improvements can be made even now, but I hope to wait until we've got this going and integrated and the libdm parts working as well before investigating other avenues.
27 lines
616 B
C
27 lines
616 B
C
#ifndef LINUX_DMFS_H
|
|
#define LINUX_DMFS_H
|
|
|
|
struct dmfs_i {
|
|
struct semaphore sem;
|
|
struct mapped_device *md;
|
|
struct dentry *dentry;
|
|
struct list_head errors;
|
|
int status;
|
|
};
|
|
|
|
#define DMFS_I(inode) ((struct dmfs_i *)(inode)->u.generic_ip)
|
|
|
|
|
|
extern int dmfs_init(void) __init;
|
|
extern int dmfs_exit(void) __exit;
|
|
|
|
struct inode *dmfs_new_inode(struct super_block *sb, int mode);
|
|
struct inode *dmfs_new_private_inode(struct super_block *sb, int mode);
|
|
|
|
void dmfs_add_error(struct inode *inode, unsigned num, char *str);
|
|
void dmfs_zap_errors(struct inode *inode);
|
|
|
|
|
|
|
|
#endif /* LINUX_DMFS_H */
|