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
LU-2675 lustre: remove linux/lustre_common.h
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obdo.c
diff --git
a/lustre/obdclass/obdo.c
b/lustre/obdclass/obdo.c
index
4ac18b4
..
767cf74
100644
(file)
--- a/
lustre/obdclass/obdo.c
+++ b/
lustre/obdclass/obdo.c
@@
-86,7
+86,7
@@
void obdo_from_inode(struct obdo *dst, struct inode *src, obd_flag valid)
newvalid |= OBD_MD_FLBLOCKS;
}
if (valid & OBD_MD_FLBLKSZ) { /* optimal block size */
-
dst->o_blksize = ll_inode_blksize(src)
;
+
dst->o_blksize = 1U << src->i_blkbits
;
newvalid |= OBD_MD_FLBLKSZ;
}
if (valid & OBD_MD_FLTYPE) {