Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3303cc5
)
Add a define for the "punch to EOF = truncate" constant.
author
adilger
<adilger>
Wed, 11 Sep 2002 17:07:58 +0000
(17:07 +0000)
committer
adilger
<adilger>
Wed, 11 Sep 2002 17:07:58 +0000
(17:07 +0000)
lustre/include/linux/lustre_idl.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_idl.h
b/lustre/include/linux/lustre_idl.h
index
38b1281
..
17d8c44
100644
(file)
--- 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;