commit | 146c4ad6ec034a1fbfbf90ba76cb69b6504c374a | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Jun 13 16:08:52 2017 +0200 |
committer | Jan Kara <jack@suse.cz> | Wed Jun 14 11:21:01 2017 +0200 |
tree | 8de22d1bbc50561db8994465ca48b1610c1eee3c | |
parent | 9795e0e8ac0d6a3ee092f1b555b284b57feef99e [diff] |
udf: Use i_size_read() in udf_adinicb_writepage() We don't hold inode_lock in udf_adinicb_writepage() so use i_size_read() to get i_size. This cannot cause real problems is i_size is guaranteed to be small but let's be careful. Signed-off-by: Jan Kara <jack@suse.cz>