X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_dir2.h;h=7dd364b1e038d04053f525da93afd1e9687b3d61;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=86560b6f794cbaf0953d5d152b1c01fce6e606af;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/fs/xfs/xfs_dir2.h b/fs/xfs/xfs_dir2.h index 86560b6f7..7dd364b1e 100644 --- a/fs/xfs/xfs_dir2.h +++ b/fs/xfs/xfs_dir2.h @@ -22,9 +22,7 @@ struct uio; struct xfs_dabuf; struct xfs_da_args; struct xfs_dir2_put_args; -struct xfs_bmap_free; struct xfs_inode; -struct xfs_mount; struct xfs_trans; /* @@ -75,35 +73,7 @@ typedef struct xfs_dir2_put_args { } xfs_dir2_put_args_t; /* - * Generic directory interface routines - */ -extern void xfs_dir_startup(void); -extern void xfs_dir_mount(struct xfs_mount *mp); -extern int xfs_dir_isempty(struct xfs_inode *dp); -extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp, - struct xfs_inode *pdp); -extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp, - char *name, int namelen, xfs_ino_t inum, - xfs_fsblock_t *first, - struct xfs_bmap_free *flist, xfs_extlen_t tot); -extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp, - char *name, int namelen, xfs_ino_t *inum); -extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp, - char *name, int namelen, xfs_ino_t ino, - xfs_fsblock_t *first, - struct xfs_bmap_free *flist, xfs_extlen_t tot); -extern int xfs_dir_getdents(struct xfs_trans *tp, struct xfs_inode *dp, - uio_t *uio, int *eofp); -extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp, - char *name, int namelen, xfs_ino_t inum, - xfs_fsblock_t *first, - struct xfs_bmap_free *flist, xfs_extlen_t tot); -extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp, - char *name, int namelen); -extern int xfs_dir_ino_validate(struct xfs_mount *mp, xfs_ino_t ino); - -/* - * Utility routines for v2 directories. + * Other interfaces used by the rest of the dir v2 code. */ extern int xfs_dir2_grow_inode(struct xfs_da_args *args, int space, xfs_dir2_db_t *dbp);