git: sbin/hammer: Remove alloc_data_element()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Oct 6 14:28:56 PDT 2016


commit 0519bef5e8bbeaed17d3163757183728cdee2fa8
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Sep 27 04:53:56 2016 +0900

    sbin/hammer: Remove alloc_data_element()
    
    This function is not used by anyone, and it's normal that way.
    The userspace command can't just allocate a user data alone without
    other metadata getting involved.
    
    Also note this function isn't fully functional as hammer userspace
    only supports upto 16KB buffer. While this function seems to care
    about large data zone, it can't handle >16KB by design (at least for now).

Summary of changes:
 sbin/hammer/hammer_util.h |  2 --
 sbin/hammer/ondisk.c      | 28 ----------------------------
 2 files changed, 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0519bef5e8bbeaed17d3163757183728cdee2fa8


-- 
DragonFly BSD source repository



More information about the Commits mailing list