Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ffs In ffs_unmount(), detect EOPNOTSUPP errno return...



details:   https://anonhg.NetBSD.org/src/rev/b92589713007
branches:  trunk
changeset: 584521:b92589713007
user:      rpaulo <rpaulo%NetBSD.org@localhost>
date:      Thu Sep 22 13:50:55 2005 +0000

description:
In ffs_unmount(), detect EOPNOTSUPP errno returned from
ufs_extattr_stop().

>From FreeBSD.

diffstat:

 sys/ufs/ffs/ffs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 62530b6a612d -r b92589713007 sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c  Thu Sep 22 13:49:03 2005 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c  Thu Sep 22 13:50:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_vfsops.c,v 1.171 2005/09/12 20:23:03 christos Exp $        */
+/*     $NetBSD: ffs_vfsops.c,v 1.172 2005/09/22 13:50:55 rpaulo Exp $  */
 
 /*
  * Copyright (c) 1989, 1991, 1993, 1994
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.171 2005/09/12 20:23:03 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.172 2005/09/22 13:50:55 rpaulo Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -1143,7 +1143,7 @@
 #ifdef UFS_EXTATTR
        if (ump->um_fstype == UFS1) {
                error = ufs_extattr_stop(mp, p);
-               if (error)
+               if (error && error != EOPNOTSUPP)
                        printf("%s: ufs_extattr_stop returned %d\n",
                            fs->fs_fsmnt, error);
                else



Home | Main Index | Thread Index | Old Index