aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorXiaochen Wang <wangxiaochen0@gmail.com>2011-03-18 16:29:25 +0800
committerTakashi Iwai <tiwai@suse.de>2011-03-18 15:14:57 +0100
commit977a6ef3c0cb622b572fb8e2e5088dbe09521375 (patch)
tree561b8544ad980f3ab3fd19f7475a304aea1f94bf /sound/usb
parentd351cf4603edb2a5bfa9a48d06c425511c63f2a3 (diff)
downloadkernel_samsung_tuna-977a6ef3c0cb622b572fb8e2e5088dbe09521375.zip
kernel_samsung_tuna-977a6ef3c0cb622b572fb8e2e5088dbe09521375.tar.gz
kernel_samsung_tuna-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/usb')
0 files changed, 0 insertions, 0 deletions