diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
| -rw-r--r-- | fs/ext4/ialloc.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index 170421edfdfe..e57e8d90ea54 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c @@ -1039,7 +1039,7 @@ got:  	/* This is the optimal IO size (for stat), not the fs block size */  	inode->i_blocks = 0;  	inode->i_mtime = inode->i_atime = inode->i_ctime = ei->i_crtime = -						       ext4_current_time(inode); +						       current_time(inode);  	memset(ei->i_data, 0, sizeof(ei->i_data));  	ei->i_dir_start_lookup = 0; @@ -1115,8 +1115,7 @@ got:  	}  	if (encrypt) { -		/* give pointer to avoid set_context with journal ops. */ -		err = fscrypt_inherit_context(dir, inode, &encrypt, true); +		err = fscrypt_inherit_context(dir, inode, handle, true);  		if (err)  			goto fail_free_drop;  	}  |