Bug 128252 - knfsd needs to support FSID as submitted in 2.4.20pre2
Summary: knfsd needs to support FSID as submitted in 2.4.20pre2
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: kernel
Version: 2.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-20 20:47 UTC by Josh Freedman
Modified: 2007-11-30 22:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-20 10:58:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Josh Freedman 2004-07-20 20:47:36 UTC
Description of problem:
The newest AS2.1 Kernel (2.4.9-e37) does not support the FSID option 
in the export file (to allow exporting of filesystems of type nodev). 
This functionality was added to the kernel in 2.4.20-pre2 and IS 
present in the kernel provided in ES3.0. 

The patch requested was provided by Neil Brown in 2.4.20-pre2.

More details: Early version of knfsd only support exporting 
filesystems that have the FS_REQUIRES_DEV flag set. This rules out
many filesystems such as coda. A discussion in 2001 between Neil and 
Linus involved this and both agreed that it was possible to export 
nodev filesystems with the use of an FSID value, which this 
implements.

Version-Release number of selected component (if applicable):
kernel-2.4.9-e37

How reproducible:
Always

Steps to Reproduce:
1. try to export a filesystem mounted with Coda 

Actual Results:  exportfs errors. debug output from the kernel shows 
that it fails the following check:

fs/nfsd/export.c:215  if (!(inode->i_sb->s_type->fs_flags & 
FS_REQUIRES_DEV) 

Expected Results:  It should have properly exported the filesystem.

Additional info:

This doesn't qualify as a bug per se because it works as it was 
intended to in 2.4.9. However, because there is no workaround and the 
problem has been fixed in newer versions, I'm classifing this as a 
bug.

Comment 1 Jason Baron 2004-08-18 17:36:42 UTC
So is the change to basically just remove that check? 

Comment 3 Jeff Layton 2007-07-20 10:58:27 UTC
AS2.1 is now in maintenance mode, so it's very doubtful this will make it in.
Please move to a newer RHEL release if you need this functionality.



Note You need to log in before you can comment on or make changes to this bug.