diff options
author | Warner Losh <imp@FreeBSD.org> | 2025-03-16 19:20:09 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2025-03-16 19:23:25 +0000 |
commit | b0375f78e32acd7947d28126a5e165f8139a5a23 (patch) | |
tree | 316f4caab8a9b093a971c38ab28f0fc0b9c7c857 /sbin/mount_ext2fs/(developers-only) | |
parent | b39f500e6ac8404aa0acdc025bd12829e881fcd1 (diff) |
Only set the GETMAXLUN quirk when it causes an error, but don't set it
when it returns 0. Since we reset the device when we set any quirk, only
set this quirk when it generates an error so umass will avoid it. When
the command works, there's no reason for umass to avoid it at all.
MFC After: 1 week
Sponsored by: Netflix
Diffstat (limited to 'sbin/mount_ext2fs/(developers-only)')
0 files changed, 0 insertions, 0 deletions