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:
3e658e5
)
- minor changes in order to get 2.6-compatibility
author
alex
<alex>
Mon, 29 Sep 2003 16:09:29 +0000
(16:09 +0000)
committer
alex
<alex>
Mon, 29 Sep 2003 16:09:29 +0000
(16:09 +0000)
NOTE: kdev_t and dev_t issue need to be investigated in depth
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
b69c28a
..
9237e1b
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-688,7
+688,7
@@
void ll_update_inode(struct inode *inode, struct mds_body *body,
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
inode->i_rdev = body->rdev;
#else
- inode->i_rdev =
to_kdev_t
(body->rdev);
+ inode->i_rdev =
old_encode_dev
(body->rdev);
#endif
if (body->valid & OBD_MD_FLSIZE)
inode->i_size = body->size;