diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2009-01-06 17:42:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 18:59:22 -0500 |
commit | a8f12864c52f8ab8520568dc97969c1749ae60bf (patch) | |
tree | 9b65cf578ce80fb0fc139371b7dd7594ed79a6f0 /fs/ecryptfs/inode.c | |
parent | df261c52abdef147084c76ecf14473184e907547 (diff) |
eCryptfs: Fix data types (int/size_t)
Correct several format string data type specifiers. Correct filename size
data types; they should be size_t rather than int when passed as
parameters to some other functions (although note that the filenames will
never be larger than int).
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Dustin Kirkland <dustin.kirkland@gmail.com>
Cc: Eric Sandeen <sandeen@redhat.com>
Cc: Tyler Hicks <tchicks@us.ibm.com>
Cc: David Kleikamp <shaggy@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r-- | fs/ecryptfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index 38309ce94d71..7168a88cdbc1 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c | |||
@@ -362,7 +362,7 @@ static struct dentry *ecryptfs_lookup(struct inode *ecryptfs_dir_inode, | |||
362 | struct nameidata *ecryptfs_nd) | 362 | struct nameidata *ecryptfs_nd) |
363 | { | 363 | { |
364 | char *encrypted_and_encoded_name = NULL; | 364 | char *encrypted_and_encoded_name = NULL; |
365 | int encrypted_and_encoded_name_size; | 365 | size_t encrypted_and_encoded_name_size; |
366 | struct ecryptfs_crypt_stat *crypt_stat = NULL; | 366 | struct ecryptfs_crypt_stat *crypt_stat = NULL; |
367 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat = NULL; | 367 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat = NULL; |
368 | struct ecryptfs_inode_info *inode_info; | 368 | struct ecryptfs_inode_info *inode_info; |