diff options
Diffstat (limited to 'include/linux/jbd.h')
| -rw-r--r-- | include/linux/jbd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h index 558cb4c26ec9..0fe4aa891ddc 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #define jfs_debug jbd_debug | 23 | #define jfs_debug jbd_debug |
| 24 | #else | 24 | #else |
| 25 | 25 | ||
| 26 | #include <linux/types.h> | ||
| 26 | #include <linux/buffer_head.h> | 27 | #include <linux/buffer_head.h> |
| 27 | #include <linux/journal-head.h> | 28 | #include <linux/journal-head.h> |
| 28 | #include <linux/stddef.h> | 29 | #include <linux/stddef.h> |
| @@ -238,7 +239,6 @@ typedef struct journal_superblock_s | |||
| 238 | 239 | ||
| 239 | #include <linux/fs.h> | 240 | #include <linux/fs.h> |
| 240 | #include <linux/sched.h> | 241 | #include <linux/sched.h> |
| 241 | #include <asm/bug.h> | ||
| 242 | 242 | ||
| 243 | #define JBD_ASSERTIONS | 243 | #define JBD_ASSERTIONS |
| 244 | #ifdef JBD_ASSERTIONS | 244 | #ifdef JBD_ASSERTIONS |
| @@ -618,6 +618,7 @@ struct transaction_s | |||
| 618 | * @j_wbuf: array of buffer_heads for journal_commit_transaction | 618 | * @j_wbuf: array of buffer_heads for journal_commit_transaction |
| 619 | * @j_wbufsize: maximum number of buffer_heads allowed in j_wbuf, the | 619 | * @j_wbufsize: maximum number of buffer_heads allowed in j_wbuf, the |
| 620 | * number that will fit in j_blocksize | 620 | * number that will fit in j_blocksize |
| 621 | * @j_last_sync_writer: most recent pid which did a synchronous write | ||
| 621 | * @j_private: An opaque pointer to fs-private information. | 622 | * @j_private: An opaque pointer to fs-private information. |
| 622 | */ | 623 | */ |
| 623 | 624 | ||
| @@ -807,6 +808,8 @@ struct journal_s | |||
| 807 | struct buffer_head **j_wbuf; | 808 | struct buffer_head **j_wbuf; |
| 808 | int j_wbufsize; | 809 | int j_wbufsize; |
| 809 | 810 | ||
| 811 | pid_t j_last_sync_writer; | ||
| 812 | |||
| 810 | /* | 813 | /* |
| 811 | * An opaque pointer to fs-private information. ext3 puts its | 814 | * An opaque pointer to fs-private information. ext3 puts its |
| 812 | * superblock pointer here | 815 | * superblock pointer here |
