Commit 1ea66d71 authored by Gaosheng Cui's avatar Gaosheng Cui Committed by Dave Kleikamp

jfs: remove unused declarations for jfs

extRealloc(), xtRelocate(), xtDelete() and extFill() have been
removed since commit e471e594 ("fs/jfs: Remove dead code"),
so remove them.
Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
parent b0a35efa
...@@ -10,9 +10,7 @@ ...@@ -10,9 +10,7 @@
(addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1) (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
extern int extAlloc(struct inode *, s64, s64, xad_t *, bool); extern int extAlloc(struct inode *, s64, s64, xad_t *, bool);
extern int extFill(struct inode *, xad_t *);
extern int extHint(struct inode *, s64, xad_t *); extern int extHint(struct inode *, s64, xad_t *);
extern int extRealloc(struct inode *, s64, xad_t *, bool);
extern int extRecord(struct inode *, xad_t *); extern int extRecord(struct inode *, xad_t *);
#endif /* _H_JFS_EXTENT */ #endif /* _H_JFS_EXTENT */
...@@ -96,12 +96,8 @@ extern int xtInsert(tid_t tid, struct inode *ip, ...@@ -96,12 +96,8 @@ extern int xtInsert(tid_t tid, struct inode *ip,
extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen, extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
int flag); int flag);
extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad); extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad);
extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
int flag);
extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type); extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size); extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
extern int xtRelocate(tid_t tid, struct inode *ip,
xad_t * oxad, s64 nxaddr, int xtype);
extern int xtAppend(tid_t tid, extern int xtAppend(tid_t tid,
struct inode *ip, int xflag, s64 xoff, int maxblocks, struct inode *ip, int xflag, s64 xoff, int maxblocks,
int *xlenp, s64 * xaddrp, int flag); int *xlenp, s64 * xaddrp, int flag);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment