OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs/crypto: fix xts_tweak initialization
[uclinux-h8/linux.git]
/
fs
/
crypto
/
crypto.c
diff --git
a/fs/crypto/crypto.c
b/fs/crypto/crypto.c
index
aed9ccc
..
06cd1a2
100644
(file)
--- a/
fs/crypto/crypto.c
+++ b/
fs/crypto/crypto.c
@@
-170,7
+170,7
@@
static int do_page_crypto(struct inode *inode,
fscrypt_complete, &ecr);
BUILD_BUG_ON(FS_XTS_TWEAK_SIZE < sizeof(index));
- memcpy(xts_tweak, &in
ode->i_ino
, sizeof(index));
+ memcpy(xts_tweak, &in
dex
, sizeof(index));
memset(&xts_tweak[sizeof(index)], 0,
FS_XTS_TWEAK_SIZE - sizeof(index));