diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-15 23:25:41 -0500 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-15 23:25:41 -0500 |
commit | 6cb1269b9607649b5edf1c4e7818e0cf34a9db71 (patch) | |
tree | d76dd36252cb5b6d7fa9afa8ec6dc4c03d30834c /fs/jfs/jfs_dmap.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_dmap.c')
-rw-r--r-- | fs/jfs/jfs_dmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c index c739626f5bf1..eadf319bee22 100644 --- a/fs/jfs/jfs_dmap.c +++ b/fs/jfs/jfs_dmap.c @@ -3055,7 +3055,7 @@ static int cntlz(u32 value) * RETURN VALUES: * log2 number of blocks */ -int blkstol2(s64 nb) +static int blkstol2(s64 nb) { int l2nb; s64 mask; /* meant to be signed */ |