utimecmp: drop dependency on xmalloc
authorEric Blake <eblake@redhat.com>
Wed, 27 Apr 2011 21:41:54 +0000 (15:41 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 28 Apr 2011 20:18:52 +0000 (14:18 -0600)
commit7cbc494f7cc150886b741e2af5051685d818f89c
tree941060113eabcc615c3b10ef7d8d76f46407a88a
parent8585ce2ff5698c650ba5d5e3bb99763654ad62e8
utimecmp: drop dependency on xmalloc

utimecmp's only use of malloc was for a cache; we can always bypass
the cache in low memory, and thus avoid dragging in xalloc-die.

* lib/utimecmp.c (utimecmp): Work even if hash table cache fails
due to memory pressure.
* modules/utimecmp (Depends-on): Drop xalloc.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/utimecmp.c
modules/utimecmp