patch-2.4.17 linux/fs/jbd/revoke.c
Next file: linux/fs/jbd/transaction.c
Previous file: linux/fs/jbd/recovery.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Dec 21 16:40:32 2001
- Orig file:
linux-2.4.16/fs/jbd/revoke.c
- Orig date:
Fri Nov 9 22:25:04 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/fs/jbd/revoke.c linux/fs/jbd/revoke.c
@@ -495,6 +495,8 @@
if (!descriptor) {
descriptor = journal_get_descriptor_buffer(journal);
+ if (!descriptor)
+ return;
header = (journal_header_t *) &jh2bh(descriptor)->b_data[0];
header->h_magic = htonl(JFS_MAGIC_NUMBER);
header->h_blocktype = htonl(JFS_REVOKE_BLOCK);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)