Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information