diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-16 00:25:41 -0400 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-16 00:25:41 -0400 |
commit | 6cb1269b9607649b5edf1c4e7818e0cf34a9db71 (patch) | |
tree | d76dd36252cb5b6d7fa9afa8ec6dc4c03d30834c /fs/jfs/jfs_txnmgr.c | |
parent | f3591fff043f5df937120962668c8adfcd3f5b29 (diff) |
JFS: Fix sparse warnings, including endian error
The fix in inode.c is a real bug. It could result in undeleted, yet
unconnected files on big-endian hardware.
The others are trivial.
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_txnmgr.c')
-rw-r--r-- | fs/jfs/jfs_txnmgr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index c7a92f9deb2b..8132fce80993 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c | |||
@@ -2070,8 +2070,8 @@ static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, | |||
2070 | * | 2070 | * |
2071 | * function: log from maplock of freed data extents; | 2071 | * function: log from maplock of freed data extents; |
2072 | */ | 2072 | */ |
2073 | void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, | 2073 | static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, |
2074 | struct tlock * tlck) | 2074 | struct tlock * tlck) |
2075 | { | 2075 | { |
2076 | struct pxd_lock *pxdlock; | 2076 | struct pxd_lock *pxdlock; |
2077 | int i, nlock; | 2077 | int i, nlock; |
@@ -2209,7 +2209,7 @@ void txEA(tid_t tid, struct inode *ip, dxd_t * oldea, dxd_t * newea) | |||
2209 | * function: synchronously write pages locked by transaction | 2209 | * function: synchronously write pages locked by transaction |
2210 | * after txLog() but before txUpdateMap(); | 2210 | * after txLog() but before txUpdateMap(); |
2211 | */ | 2211 | */ |
2212 | void txForce(struct tblock * tblk) | 2212 | static void txForce(struct tblock * tblk) |
2213 | { | 2213 | { |
2214 | struct tlock *tlck; | 2214 | struct tlock *tlck; |
2215 | lid_t lid, next; | 2215 | lid_t lid, next; |