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
b1a7433e0b
commit
33a22f46e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78457
@ -232,7 +232,7 @@ initfs()
|
|||||||
fs_current->qfpathname = malloc(sizeof(char) * (strlen(qfpathname) + 1));
|
fs_current->qfpathname = malloc(sizeof(char) * (strlen(qfpathname) + 1));
|
||||||
strcpy(fs_current->qfpathname, qfpathname);
|
strcpy(fs_current->qfpathname, qfpathname);
|
||||||
|
|
||||||
stat(qfpathname, &st);
|
stat(fs_current->fs_file, &st);
|
||||||
fs_current->st_dev = st.st_dev;
|
fs_current->st_dev = st.st_dev;
|
||||||
|
|
||||||
fs_next = fs_current;
|
fs_next = fs_current;
|
||||||
|
Loading…
Reference in New Issue
Block a user