kernel - Also include file size in VOP_GETATTR_QUICK()
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 26 Jul 2020 17:52:19 +0000 (10:52 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 26 Jul 2020 17:52:19 +0000 (10:52 -0700)
commitcfc46d5274b5e952eed5d25658f92695aa9c92cf
treea21d368e66d62493bc5f2f4a8ad2969b34b24fea
parentb32e6f620837ade80f1080c381e3af5dab95acff
kernel - Also include file size in VOP_GETATTR_QUICK()

* Originally VOP_GETATTR_QUICK() was only meant to be used by the
  nlookup code but we are now also using it with lseek().

* Fix hammer2_vop_getattr_quick() to also provide the file size.

* Fixes bug introduced when lseek() was changed to use this
  VOP.
sys/vfs/hammer2/hammer2_vnops.c