stat(2) filesystem quotas act on, not filesystem quotas file resides on.

PR:		bin/4949
MFC after:	2 weeks
This commit is contained in:
Mike Heffner 2001-06-19 04:45:50 +00:00
parent b1a7433e0b
commit 33a22f46e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78457

View File

@ -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;