summaryrefslogtreecommitdiffstats
path: root/utils/mountd/mountd.h
Commit message (Collapse)AuthorAgeFilesLines
* nfs-utils: have mountd hold open etab file to force inode number to changeJeff Layton2007-05-111-1/+1
| | | | | | | | | | | | | This patch changes mountd to hold the etab file open so that when it's changed by exportfs, the inode number should change. We then change auth_reload to reload the file based on whether st_ino is different from the last time it was checked. It also changes auth_reload to maintain a static counter value and return it instead of a timestamp and fixes up get_exportlist accordingly. Finally, it adds some comments to xtab_write to warn people about editing the etab in place. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
* Ensure 'showmount -e' gets current information.Neil Brown2007-01-111-1/+1
| | | | | | If auth_reload has been called by someone else, get_exportlist can incorrectly return old data. So track modify times better and only use cached data if the modify time matches.
* Open channel files O_WRONLY, and improve mountlist support.neilbrown2003-08-041-2/+2
|
* Initial revisionhjl1999-10-181-0/+54