Mailinglist Archive: opensuse-bugs (3517 mails)
| < Previous | Next > |
[Bug 714151] nfs kernel server doesn't esport a btrfs partition
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Thu, 8 Sep 2011 21:34:36 +0000
- Message-id: <20110908213436.20F5A24551E@molor.provo.novell.com>
https://bugzilla.novell.com/show_bug.cgi?id=714151
https://bugzilla.novell.com/show_bug.cgi?id=714151#c6
Neil Brown <nfbrown@xxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nfbrown@xxxxxxxx
AssignedTo|nfbrown@xxxxxxxx |puzel@xxxxxxxx
--- Comment #6 from Neil Brown <nfbrown@xxxxxxxx> 2011-09-08 21:34:34 UTC ---
Yes, definitely a bug in util-linux. In sysfs_init in particular (in
lib/sysfs.c)
If the 'open' fails we 'goto err' which runs 'sysfs_deinit()' on a 'cxt' which
hasn't been fully initialised. The 'dir_fd' is still 0, so sysfs_deinit calls
"close(0)" is confused things.
Fix is o set dir_fd to -1 immediately after the memset in sysfs_init.
I'll this over the Petr - util-linux maintainer.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |