94 if ((rc = chkSuper(sb))) {
99 if (ipaimap ==
NULL) {
100 jfs_err(
"jfs_mount: Failed to read AGGREGATE_I");
106 jfs_info(
"jfs_mount: ipaimap:0x%p", ipaimap);
112 jfs_err(
"jfs_mount: diMount(ipaimap) failed w/rc = %d", rc);
120 if (ipbmap ==
NULL) {
125 jfs_info(
"jfs_mount: ipbmap:0x%p", ipbmap);
133 jfs_err(
"jfs_mount: dbMount failed w/rc = %d", rc);
151 jfs_err(
"jfs_mount: Failed to read AGGREGATE_I");
157 jfs_info(
"jfs_mount: ipaimap2:0x%p", ipaimap2);
162 if ((rc =
diMount(ipaimap2))) {
163 jfs_err(
"jfs_mount: diMount(ipaimap2) failed, rc = %d",
178 if (ipimap ==
NULL) {
179 jfs_err(
"jfs_mount: Failed to read FILESYSTEM_I");
184 jfs_info(
"jfs_mount: ipimap:0x%p", ipimap);
191 jfs_err(
"jfs_mount: diMount failed w/rc = %d", rc);
228 jfs_err(
"Mount JFS Failure: %d", rc);
257 jfs_err(
"jfs_mount_rw: diMount failed!");
263 jfs_err(
"jfs_mount_rw: dbMount failed!");
278 jfs_err(
"jfs_mount: updateSuper failed w/rc = %d", rc);
306 struct buffer_head *bh;
307 int AIM_bytesize, AIT_bytesize;
308 int expected_AIM_bytesize, expected_AIT_bytesize;
309 s64 AIM_byte_addr, AIT_byte_addr, fsckwsp_addr;
310 s64 byte_addr_diff0, byte_addr_diff1;
329 if (bsize !=
PSIZE) {
330 jfs_err(
"Currently only 4K block size supported!");
336 jfs_info(
"superblock: flag:0x%08x state:0x%08x size:0x%Lx",
343 expected_AIM_bytesize = 2 *
PSIZE;
345 expected_AIT_bytesize = 4 *
PSIZE;
349 byte_addr_diff0 = AIT_byte_addr - AIM_byte_addr;
351 byte_addr_diff1 = fsckwsp_addr - AIT_byte_addr;
352 if ((AIM_bytesize != expected_AIM_bytesize) ||
353 (AIT_bytesize != expected_AIT_bytesize) ||
354 (byte_addr_diff0 != AIM_bytesize) ||
355 (byte_addr_diff1 <= AIT_bytesize))
366 jfs_err(
"jfs_mount: Mount Failure: File System Dirty.");
413 struct buffer_head *bh;
426 jfs_err(
"updateSuper: bad state");