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:
75fd9b7
)
- fixed missed -1 in kernel_read()
author
yury
<yury>
Thu, 21 Apr 2005 14:13:04 +0000
(14:13 +0000)
committer
yury
<yury>
Thu, 21 Apr 2005 14:13:04 +0000
(14:13 +0000)
lustre/llite/llite_gns.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_gns.c
b/lustre/llite/llite_gns.c
index
913e8e2
..
5c711b2
100644
(file)
--- a/
lustre/llite/llite_gns.c
+++ b/
lustre/llite/llite_gns.c
@@
-200,7
+200,7
@@
ll_gns_mount_object(struct dentry *dentry, struct vfsmount *mnt)
cleanup_phase = 4;
/* read data from mount object. */
- rc = kernel_read(mntinfo_fd, 0, datapage, PAGE_SIZE);
+ rc = kernel_read(mntinfo_fd, 0, datapage, PAGE_SIZE
- 1
);
if (rc < 0) {
CERROR("can't read mount object %*s/%*s data, err %d\n",
(int)dentry->d_name.len, dentry->d_name.name,