mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-07-09 17:27:39 +03:00
linux: libspl: getmntany: remove unused argument
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rich Ercolani <rincebrain@gmail.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12829
This commit is contained in:
parent
344bbc82e7
commit
9e184b7c35
@ -83,7 +83,7 @@ _sol_getmntent(FILE *fp, struct mnttab *mgetp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
getextmntent_impl(FILE *fp, struct extmnttab *mp, int len)
|
getextmntent_impl(FILE *fp, struct extmnttab *mp)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
struct stat64 st;
|
struct stat64 st;
|
||||||
@ -137,7 +137,7 @@ getextmntent(const char *path, struct extmnttab *entry, struct stat64 *statbuf)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
match = 0;
|
match = 0;
|
||||||
while (getextmntent_impl(fp, entry, sizeof (*entry)) == 0) {
|
while (getextmntent_impl(fp, entry) == 0) {
|
||||||
if (makedev(entry->mnt_major, entry->mnt_minor) ==
|
if (makedev(entry->mnt_major, entry->mnt_minor) ==
|
||||||
statbuf->st_dev) {
|
statbuf->st_dev) {
|
||||||
match = 1;
|
match = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user