Darrick J. Wong
0a1e1567b3
xfs: pass inode number to xfs_scrub_ino_set_{preen,warning}
...
There are two ways to scrub an inode -- calling xfs_iget and checking
the raw inode core, or by loading the inode cluster buffer and checking
the on-disk contents directly. The second method is only useful if
_iget fails the verifiers; when this is the case, sc->ip is NULL and
calling the tracepoint will cause a system crash.
Therefore, pass the raw inode number directly into the _preen and
_warning functions.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2017-11-09 09:10:45 -08:00
..
2017-11-06 11:57:39 -08:00
2017-11-09 09:10:45 -08:00
2017-10-26 15:38:23 -07:00
2017-07-12 16:26:03 -07:00
2017-11-06 11:53:41 -08:00
2017-10-11 10:21:06 -07:00
2017-06-27 18:23:21 -07:00
2017-10-16 12:26:50 -07:00
2017-08-31 09:31:47 -07:00
2017-10-26 15:38:22 -07:00
2017-10-27 09:20:31 -07:00
2017-10-26 15:38:26 -07:00
2017-09-01 10:55:30 -07:00
2017-11-06 11:53:40 -08:00
2017-10-26 15:38:20 -07:00
2017-09-02 08:22:19 -07:00
2017-09-01 10:55:30 -07:00
2017-11-01 15:03:16 -07:00
2017-10-26 15:38:23 -07:00
2017-11-06 11:53:40 -08:00
2017-06-19 14:11:33 -07:00
2017-11-06 11:57:39 -08:00
2017-11-06 11:57:39 -08:00
2017-11-01 15:03:16 -07:00
2017-10-26 15:38:25 -07:00
2017-10-16 12:26:50 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2017-10-26 15:38:23 -07:00
2017-06-19 14:11:34 -07:00
2017-11-06 11:53:41 -08:00
2017-11-01 15:03:16 -07:00
2017-11-06 11:57:39 -08:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:23 -07:00
2017-06-19 14:11:33 -07:00
2017-10-26 15:38:25 -07:00
2017-06-19 14:11:33 -07:00
2017-11-06 11:53:40 -08:00
2017-09-26 10:55:19 -07:00
2017-11-03 09:45:56 -07:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:23 -07:00
2017-11-06 11:53:58 -08:00
2017-08-04 13:43:36 -07:00
2017-06-19 14:11:33 -07:00
2017-11-06 11:57:39 -08:00
2017-11-06 11:57:39 -08:00
2017-06-19 14:11:33 -07:00
2017-10-11 10:21:06 -07:00
2017-06-27 18:23:20 -07:00
2017-10-11 10:21:06 -07:00
2017-09-26 10:55:19 -07:00
2017-06-19 14:11:33 -07:00
2017-09-01 13:08:26 -07:00
2017-07-17 08:45:34 +01:00
2017-09-01 10:55:30 -07:00
2017-11-06 11:53:40 -08:00
2017-06-19 14:11:35 -07:00
2017-09-01 10:55:30 -07:00
2017-10-26 15:38:23 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2017-10-18 18:51:27 -04:00
2017-09-01 10:55:30 -07:00
2017-06-20 10:45:22 -07:00
2017-06-27 18:23:21 -07:00
2017-11-06 11:53:41 -08:00
2017-11-01 15:03:16 -07:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00
2017-08-22 09:22:23 -07:00
2017-06-19 14:11:33 -07:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00
2017-11-06 11:53:58 -08:00