diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-10-22 19:43:30 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-22 21:19:55 +0200 |
commit | 60c74f81933635bb4ccb4ee6f31909c51f5cd230 (patch) | |
tree | 1c8370b66d34d86598070e571f8935f5ff98fadb /fs/ecryptfs/keystore.c | |
parent | [SG] Update drivers to use sg helpers (diff) | |
download | linux-60c74f81933635bb4ccb4ee6f31909c51f5cd230.tar.xz linux-60c74f81933635bb4ccb4ee6f31909c51f5cd230.zip |
Update fs/ to use sg helpers
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/ecryptfs/keystore.c')
-rw-r--r-- | fs/ecryptfs/keystore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c index 89d9710dd63d..263fed88c0ca 100644 --- a/fs/ecryptfs/keystore.c +++ b/fs/ecryptfs/keystore.c @@ -1040,6 +1040,9 @@ decrypt_passphrase_encrypted_session_key(struct ecryptfs_auth_tok *auth_tok, }; int rc = 0; + sg_init_table(&dst_sg, 1); + sg_init_table(&src_sg, 1); + if (unlikely(ecryptfs_verbosity > 0)) { ecryptfs_printk( KERN_DEBUG, "Session key encryption key (size [%d]):\n", |