Commit 977a6ef3c0cb622b572fb8e2e5088dbe09521375
Committed by
Takashi Iwai
1 parent
d351cf4603
Exists in
master
and in
7 other branches
sound: read i_size with i_size_read()
Convert direct read of inode->i_size to using i_size_read(). i_size_read is guaranteed to return a valid value and its caller does not need to use addtional locking. Signed-off-by: Xiaochen Wang <wangxiaochen0@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
sound/sound_firmware.c