[linux-cifs-client] Re-exporting cifs mount over NFSv4

Paul "TBBle" Hampson Paul.Hampson at Pobox.com
Fri Mar 7 06:53:28 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul "TBBle" Hampson wrote:
| I understood from the git logs and README that the cifs client in
| 2.6.24 was able to be reexport mounts over NFSv4.

I discovered the problem. In late October 2007, the exportfs
interface was changed [1], and cifs was not updated during the
update. (export.c was last touched non-trivially in early October)

cifs currently is missing the one mandatory method fh_to_dentry in
the export_operations structure, so the exportfs code rejects it as
an exportable filesystem.

I dunno if anyone's planning to fix this, I think I'll have a go
just pointing it at generic_fh_to_dentry (as this seems to be the
intended behaviour under the old API) and see if that works or if
it sets our machines on fire.

- --
- -----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
Very-later-year Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
~ -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.1/au/
- -----------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH0OZoexDuohKLFuARAuf+AKCbEPYi6vY0hObecBtfpj+llgqTygCfYqY/
huJfA76notVqdUJFqm23b1g=
=GClH
-----END PGP SIGNATURE-----


More information about the linux-cifs-client mailing list