summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorTahsin Erdogan <tahsin@google.com>2017-06-21 21:57:36 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-06-21 21:57:36 -0400
commit909666933210eb145bc93426ce07f66bf3d1f798 (patch)
tree2860c6d369f273f7f3854c0c52c4c8bc43753524 /include/linux/timerqueue.h
parentbab79b04999ccbbf59f1693d0783cd6ae27e4278 (diff)
downloadcachepc-linux-909666933210eb145bc93426ce07f66bf3d1f798.tar.gz
cachepc-linux-909666933210eb145bc93426ce07f66bf3d1f798.zip
ext4: clean up ext4_xattr_inode_get()
The input and output values of *size parameter are equal on successful return from ext4_xattr_inode_get(). On error return, the callers ignore the output value so there is no need to update it. Also check for NULL return from ext4_bread(). If the actual xattr inode size happens to be smaller than the expected size, ext4_bread() may return NULL which would indicate data corruption. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions