diff options
| author | Benjamin LaHaise <bcrl@toomuch.toronto.redhat.com> | 2002-09-30 11:38:00 -0400 |
|---|---|---|
| committer | Benjamin LaHaise <bcrl@toomuch.toronto.redhat.com> | 2002-09-30 11:38:00 -0400 |
| commit | f0b117b088903493f03c0b86c55830b9564cce7e (patch) | |
| tree | ead4cc171306b0aead8bf7718fa1bb615cf9c87a /include/linux/aio.h | |
| parent | 524b6ab3afde7bb566bef72536f6ad9fe227bf90 (diff) | |
several minor bugfixes for the aio core
Diffstat (limited to 'include/linux/aio.h')
| -rw-r--r-- | include/linux/aio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h index d4178237ed62..bef6c293196b 100644 --- a/include/linux/aio.h +++ b/include/linux/aio.h @@ -42,6 +42,7 @@ struct kiocb { long private[KIOCB_PRIVATE_SIZE/sizeof(long)]; }; +#define is_sync_kiocb(iocb) ((iocb)->ki_key == KIOCB_SYNC_KEY) #define init_sync_kiocb(x, filp) \ do { \ struct task_struct *tsk = current; \ |
