]> granicus.if.org Git - zfs/commit
Register the space accounting callback even when we don't have the ZPL.
authorRicardo M. Correia <ricardo.correia@oracle.com>
Mon, 4 Oct 2010 17:19:17 +0000 (10:19 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 4 Oct 2010 18:34:39 +0000 (11:34 -0700)
commit0151834d65bb05f02a43c7f1b6128030aa3e76c4
tree0be9147e73cf1ef60a39c3c9fd51bbdd20bb57ba
parent858219cc4e44aea8373c56a94380f5be53026b38
Register the space accounting callback even when we don't have the ZPL.

This callback is needed for properly accounting the per-uid and per-gid
space usage.  Even if we don't have the ZPL, we still need this callback
in order to have proper on-disk ZPL compatibility and to be able to use
Lustre quotas.

Fortunately, the callback doesn't have any ZPL/VFS dependencies so we
can just move it out of #ifdef HAVE_ZPL.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/zfs_vfsops.c