Skip to content

Commit 1ea66d7

Browse files
gscuikleikamp
authored andcommitted
jfs: remove unused declarations for jfs
extRealloc(), xtRelocate(), xtDelete() and extFill() have been removed since commit e471e59 ("fs/jfs: Remove dead code"), so remove them. Signed-off-by: Gaosheng Cui <[email protected]> Signed-off-by: Dave Kleikamp <[email protected]>
1 parent b0a35ef commit 1ea66d7

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

fs/jfs/jfs_extent.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
(addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
1111

1212
extern int extAlloc(struct inode *, s64, s64, xad_t *, bool);
13-
extern int extFill(struct inode *, xad_t *);
1413
extern int extHint(struct inode *, s64, xad_t *);
15-
extern int extRealloc(struct inode *, s64, xad_t *, bool);
1614
extern int extRecord(struct inode *, xad_t *);
1715

1816
#endif /* _H_JFS_EXTENT */

fs/jfs/jfs_xtree.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,8 @@ extern int xtInsert(tid_t tid, struct inode *ip,
9696
extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
9797
int flag);
9898
extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad);
99-
extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
100-
int flag);
10199
extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
102100
extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
103-
extern int xtRelocate(tid_t tid, struct inode *ip,
104-
xad_t * oxad, s64 nxaddr, int xtype);
105101
extern int xtAppend(tid_t tid,
106102
struct inode *ip, int xflag, s64 xoff, int maxblocks,
107103
int *xlenp, s64 * xaddrp, int flag);

0 commit comments

Comments
 (0)