mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
o If FFS_EXTATTR is defined, don't print out an error message on unmount
if an FFS partition returns EOPNOTSUPP, as it just means extended attributes weren't enabled on that partition. Prevents spurious warning per-partition at shutdown.
This commit is contained in:
parent
ce51a9fcf9
commit
b2b0497ab5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61237
@ -818,9 +818,10 @@ ffs_unmount(mp, mntflags, p)
|
||||
flags |= FORCECLOSE;
|
||||
}
|
||||
#ifdef FFS_EXTATTR
|
||||
if ((error = ufs_extattr_stop(mp, p))) {
|
||||
printf("ffs_unmount: ufs_extattr_stop returned %d\n", error);
|
||||
}
|
||||
if ((error = ufs_extattr_stop(mp, p)))
|
||||
if (error != EOPNOTSUPP)
|
||||
printf("ffs_unmount: ufs_extattr_stop returned %d\n",
|
||||
error);
|
||||
#endif
|
||||
if (mp->mnt_flag & MNT_SOFTDEP) {
|
||||
if ((error = softdep_flushfiles(mp, flags, p)) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user