diff options
Diffstat (limited to 'fs/ecryptfs/crypto.c')
-rw-r--r-- | fs/ecryptfs/crypto.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 4f7d89591970..129ed13f8253 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c | |||
@@ -1267,8 +1267,6 @@ static int ecryptfs_read_header_region(char *data, struct dentry *dentry, | |||
1267 | lower_file->f_pos = 0; | 1267 | lower_file->f_pos = 0; |
1268 | oldfs = get_fs(); | 1268 | oldfs = get_fs(); |
1269 | set_fs(get_ds()); | 1269 | set_fs(get_ds()); |
1270 | /* For releases 0.1 and 0.2, all of the header information | ||
1271 | * fits in the first data extent-sized region. */ | ||
1272 | rc = lower_file->f_op->read(lower_file, (char __user *)data, | 1270 | rc = lower_file->f_op->read(lower_file, (char __user *)data, |
1273 | ECRYPTFS_DEFAULT_EXTENT_SIZE, &lower_file->f_pos); | 1271 | ECRYPTFS_DEFAULT_EXTENT_SIZE, &lower_file->f_pos); |
1274 | set_fs(oldfs); | 1272 | set_fs(oldfs); |