commit | 977a6ef3c0cb622b572fb8e2e5088dbe09521375 | [log] [tgz] |
---|---|---|
author | Xiaochen Wang <wangxiaochen0@gmail.com> | Fri Mar 18 16:29:25 2011 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Mar 18 15:14:57 2011 +0100 |
tree | 561b8544ad980f3ab3fd19f7475a304aea1f94bf | |
parent | d351cf4603edb2a5bfa9a48d06c425511c63f2a3 [diff] |
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>