summaryrefslogtreecommitdiff
path: root/setquota.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2005-10-25 13:01:14 +0000
committerjkar8572 <jkar8572>2005-10-25 13:01:14 +0000
commitd18a867ac9cdab3d3a6b176d242141be969351ec (patch)
treea3ec90d64fe7b50feb354f31d0380f90fced0690 /setquota.c
parentb6d2587199b6d924511573719b513e278d3dad62 (diff)
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)
Diffstat (limited to 'setquota.c')
-rw-r--r--setquota.c4
1 files changed, 2 insertions, 2 deletions
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);