From: adilger Date: Wed, 11 Sep 2002 17:07:58 +0000 (+0000) Subject: Add a define for the "punch to EOF = truncate" constant. X-Git-Tag: 0.5.8~64 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8b814e3bf8d2cec2a9a1897801103e9148be55e6;p=fs%2Flustre-release.git Add a define for the "punch to EOF = truncate" constant. --- diff --git a/lustre/include/linux/lustre_idl.h b/lustre/include/linux/lustre_idl.h index 38b1281..17d8c44 100644 --- a/lustre/include/linux/lustre_idl.h +++ b/lustre/include/linux/lustre_idl.h @@ -245,6 +245,8 @@ struct obd_statfs { #define OBD_BRW_RWMASK (OBD_BRW_READ | OBD_BRW_WRITE) #define OBD_BRW_CREATE 0x4 +#define OBD_PUNCH_EOF 0xffffffffffffffffULL + struct obd_ioobj { obd_id ioo_id; obd_gr ioo_gr;