From d18a867ac9cdab3d3a6b176d242141be969351ec Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Tue, 25 Oct 2005 13:01:14 +0000 Subject: Changed mountpoint scanning so that we don't even stat NFS mountpoints when local-only flag was specified. Hence we don't block if NFS is down. (Jan Kara) --- setquota.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setquota.c') diff --git a/setquota.c b/setquota.c index d2dfccb..ca703e5 100644 --- a/setquota.c +++ b/setquota.c @@ -344,9 +344,9 @@ int main(int argc, char **argv) init_kernel_interface(); if (flags & FL_ALL) - handles = create_handle_list(0, NULL, flag2type(flags), fmt, (flags & FL_RPC) ? 0 : IOI_LOCALONLY, 0); + handles = create_handle_list(0, NULL, flag2type(flags), fmt, 0, (flags & FL_RPC) ? 0 : MS_LOCALONLY); else - handles = create_handle_list(mntcnt, mnt, flag2type(flags), fmt, (flags & FL_RPC) ? 0 : IOI_LOCALONLY, 0); + handles = create_handle_list(mntcnt, mnt, flag2type(flags), fmt, 0, (flags & FL_RPC) ? 0 : MS_LOCALONLY); if (flags & FL_GRACE) ret = setgraces(handles); -- cgit v1.2.3