a63cd84128875485e40ed804dbf0b0945526989c |
|
02-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-fs: Added fs_get_nlinks()
Although fs_stat() could return this, its caller can't indicate whether
it actually wants the link count. Usually fs_stat() is used only to get
the file's size. In some backends it's not cheap to get the link count,
so adding this function allows the caller to explicitly ask for it. |