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
small changes and fixes to get the filter OBD working fully.
[fs/lustre-release.git]
/
lustre
/
obdfs
/
rw.c
diff --git
a/lustre/obdfs/rw.c
b/lustre/obdfs/rw.c
index
5fcd525
..
501a2df
100644
(file)
--- a/
lustre/obdfs/rw.c
+++ b/
lustre/obdfs/rw.c
@@
-692,7
+692,7
@@
void obdfs_truncate(struct inode *inode)
obdo.o_valid = OBD_MD_FLNOTOBD;
obdfs_from_inode(&obdo, inode);
obdo.o_valid = OBD_MD_FLNOTOBD;
obdfs_from_inode(&obdo, inode);
- err = IOPS(inode, punch)(IID(inode), &obdo,
obdo.o_size, 0
);
+ err = IOPS(inode, punch)(IID(inode), &obdo,
0, obdo.o_size
);
} else {
oa->o_valid = OBD_MD_FLNOTOBD;
obdfs_from_inode(oa, inode);
} else {
oa->o_valid = OBD_MD_FLNOTOBD;
obdfs_from_inode(oa, inode);