diff options
author | Xiaochen Wang <wangxiaochen0@gmail.com> | 2011-03-18 16:29:25 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-03-18 15:14:57 +0100 |
commit | 977a6ef3c0cb622b572fb8e2e5088dbe09521375 (patch) | |
tree | 561b8544ad980f3ab3fd19f7475a304aea1f94bf /sound/i2c | |
parent | d351cf4603edb2a5bfa9a48d06c425511c63f2a3 (diff) | |
download | linux-977a6ef3c0cb622b572fb8e2e5088dbe09521375.tar.bz2 |
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>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions