summaryrefslogtreecommitdiff
path: root/die.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-16 17:59:35 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-16 17:59:35 +0100
commit4262e95c1c0a09c7f98ea6623d364bfda41e8bec (patch)
tree64309f7b022b5ed7e730d35589a221c6b336f026 /die.h
parent7a3b0f2226f7ad5f5ba20bcab5ef0f5c2b75e17d (diff)
ring: don't care if we cannot active hw timestamping
Hw timestaming is currently done, if we have the header file from the kernel available. If it fails, we currently bail out, which is bullshit. Just returning is enough, since some users might have the header available, but not a NIC supporting hw timestaming. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'die.h')
0 files changed, 0 insertions, 0 deletions
98ee03c2ff15b9482cc8c5e15a83&id2=9f27889f3a96ff356ac92688cc0c4be3935ae3af'>diff)
xfs: improve kmem_realloc
Use krealloc to implement our realloc function. This helps to avoid new allocations if we are still in the slab bucket. At least for the bmap btree root that's actually the common case. This also allows removing the now unused oldsize argument. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'Documentation/hwmon/tmp401')