stat(2) filesystem quotas act on, not filesystem quotas file resides on.
PR: bin/4949 MFC after: 2 weeks
This commit is contained in:
parent
1cdd9402ff
commit
01ef3095a5
@ -232,7 +232,7 @@ initfs()
|
||||
fs_current->qfpathname = malloc(sizeof(char) * (strlen(qfpathname) + 1));
|
||||
strcpy(fs_current->qfpathname, qfpathname);
|
||||
|
||||
stat(qfpathname, &st);
|
||||
stat(fs_current->fs_file, &st);
|
||||
fs_current->st_dev = st.st_dev;
|
||||
|
||||
fs_next = fs_current;
|
||||
|
Loading…
Reference in New Issue
Block a user