| 248 | } |
| 249 | |
| 250 | int |
| 251 | quota_check_path(const struct quotafile *qf, const char *path) |
| 252 | { |
| 253 | struct stat st; |
| 254 | |
| 255 | if (stat(path, &st) == -1) |
| 256 | return (-1); |
| 257 | return (st.st_dev == qf->dev); |
| 258 | } |
| 259 | |
| 260 | int |
| 261 | quota_maxid(struct quotafile *qf) |