|
@@ -44,6 +44,7 @@ struct vm_area_struct;
|
|
|
struct vfsmount;
|
|
|
struct cred;
|
|
|
struct swap_info_struct;
|
|
|
+struct seq_file;
|
|
|
|
|
|
extern void __init inode_init(void);
|
|
|
extern void __init inode_init_early(void);
|
|
@@ -1543,6 +1544,7 @@ struct file_operations {
|
|
|
int (*setlease)(struct file *, long, struct file_lock **);
|
|
|
long (*fallocate)(struct file *file, int mode, loff_t offset,
|
|
|
loff_t len);
|
|
|
+ int (*show_fdinfo)(struct seq_file *m, struct file *f);
|
|
|
};
|
|
|
|
|
|
struct inode_operations {
|
|
@@ -1578,8 +1580,6 @@ struct inode_operations {
|
|
|
umode_t create_mode, int *opened);
|
|
|
} ____cacheline_aligned;
|
|
|
|
|
|
-struct seq_file;
|
|
|
-
|
|
|
ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,
|
|
|
unsigned long nr_segs, unsigned long fast_segs,
|
|
|
struct iovec *fast_pointer,
|