mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
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));
|
||||
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