X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Finternal.h;h=b29c46e4e32f6d72cc80c60073e85dcac9397750;hb=c1e48efc701b79ee4367c9a1a4e8bbc7c3586e02;hp=17191546d52768691e405da4cc53735d9589e275;hpb=4e76ae4406449811c0b743ccf0612ef6ffcf2acb;p=~andy%2Flinux diff --git a/fs/internal.h b/fs/internal.h index 17191546d52..b29c46e4e32 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -64,6 +64,7 @@ extern int copy_mount_string(const void __user *, char **); extern unsigned int mnt_get_count(struct vfsmount *mnt); extern struct vfsmount *__lookup_mnt(struct vfsmount *, struct dentry *, int); +extern struct vfsmount *lookup_mnt(struct path *); extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *, struct vfsmount *); extern void release_mounts(struct list_head *); @@ -124,6 +125,13 @@ extern long do_handle_open(int mountdirfd, /* * inode.c */ +extern spinlock_t inode_sb_list_lock; + +/* + * fs-writeback.c + */ +extern void inode_wb_list_del(struct inode *inode); + extern int get_nr_dirty_inodes(void); extern void evict_inodes(struct super_block *); extern int invalidate_inodes(struct super_block *, bool);