Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fixes for making liblustre at least buildable (including fixes to compilation bug...
[fs/lustre-release.git]
/
lustre
/
liblustre
/
file.c
diff --git
a/lustre/liblustre/file.c
b/lustre/liblustre/file.c
index
b2fa8f4
..
1563798
100644
(file)
--- a/
lustre/liblustre/file.c
+++ b/
lustre/liblustre/file.c
@@
-408,8
+408,9
@@
static void llu_truncate(struct inode *inode)
oa.o_id, lli->lli_st_size);
/* truncate == punch from new size to absolute end of file */
oa.o_id, lli->lli_st_size);
/* truncate == punch from new size to absolute end of file */
+ /* XXX: capa is NULL here, is it correct? */
err = obd_punch(llu_i2dtexp(inode), &oa, lsm, lli->lli_st_size,
err = obd_punch(llu_i2dtexp(inode), &oa, lsm, lli->lli_st_size,
- OBD_OBJECT_EOF, NULL);
+ OBD_OBJECT_EOF, NULL
, NULL
);
if (err)
CERROR("obd_truncate fails (%d) ino %lu\n", err, lli->lli_st_ino);
else
if (err)
CERROR("obd_truncate fails (%d) ino %lu\n", err, lli->lli_st_ino);
else