freebsd-nq/sys
Pawel Jakub Dawidek 7746b6461d Work-around READDIRPLUS problem with .zfs/ and .zfs/snapshot/ directories
by just returning EOPNOTSUPP. This will allow NFS server to fall back to
regular READDIR.

Note that converting inode number to snapshot's vnode is expensive operation.
Snapshots are stored in AVL tree, but based on their names, not inode numbers,
so to convert inode to snapshot vnode we have to interate over all snalshots.

This is not a problem in OpenSolaris, because in their READDIRPLUS
implementation they use VOP_LOOKUP() on d_name, instead of VFS_VGET() on
d_fileno as we do.

PR:		kern/125149
Reported by:	Weldon Godfrey <wgodfrey@ena.com>
Analysis by:	Jaakko Heinonen <jh@saunalahti.fi>
MFC after:	3 days
2009-09-13 16:05:20 +00:00
..
amd64 Consolidate CPUID to CPU family/model macros for amd64 and i386 to reduce 2009-09-10 17:27:36 +00:00
arm Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an 2009-09-08 20:45:40 +00:00
boot MFi386: 2009-09-13 11:20:17 +00:00
bsm Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating 2009-07-17 14:02:20 +00:00
cam Use C99 initialization for struct filterops. 2009-09-12 20:03:45 +00:00
cddl Work-around READDIRPLUS problem with .zfs/ and .zfs/snapshot/ directories 2009-09-13 16:05:20 +00:00
compat As jhb@ pointed out to me, r197057 was incorrect, not least because these 2009-09-10 13:20:27 +00:00
conf Catch up with ACPICA 20090903. 2009-09-11 22:49:34 +00:00
contrib Canonify include paths for newly added files. 2009-09-11 22:56:08 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
dev Add a couple of small fixes from the AMD folks. 2009-09-13 11:10:38 +00:00
fs Use C99 initialization for struct filterops. 2009-09-12 20:03:45 +00:00
gdb
geom Remove unused variable. 2009-09-08 17:20:17 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 Use C99 initialization for struct filterops. 2009-09-12 20:03:45 +00:00
ia64 Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an 2009-09-08 20:45:40 +00:00
isa Tweak the way that the ACPI and ISA bus drivers match hint devices to 2009-08-24 21:51:46 +00:00
kern Revert r196779 in order to implement a different scheme for newbus locking 2009-09-13 15:08:19 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an 2009-09-08 20:45:40 +00:00
modules Catch up with ACPICA 20090903. 2009-09-11 22:49:34 +00:00
net Use C99 initialization for struct filterops. 2009-09-12 20:03:45 +00:00
net80211 Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Get those pesky RFCOMM RPM data bits right. This is likely a noop. 2009-09-10 23:30:13 +00:00
netinet In expire_mfc(), add an assert on the multicast forwarding cache mutex. 2009-09-13 01:00:24 +00:00
netinet6 Improve flexibility of receiving Router Advertisement and 2009-09-12 22:08:20 +00:00
netipsec Silent gcc? Yeah, you wish. What I ment was to silence gcc. 2009-09-06 19:05:03 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Add LK_NOWITNESS to the vn_lock() calls done on newly created nfs 2009-09-09 20:37:49 +00:00
nfsserver Correct typo after manual patching. 2009-09-09 13:23:26 +00:00
nlm Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
opencrypto If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
pc98 MFi386: Remove old file. 2009-09-09 10:05:50 +00:00
pci intpm: add support for smbus controller found in AMD SB700 2009-09-12 18:24:31 +00:00
powerpc Add a few SCSI controllers to GENERIC that can be found on Powermacs. 2009-09-10 21:25:05 +00:00
rpc Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet 2009-08-24 10:09:30 +00:00
security Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
sparc64 Factor out the duplicated macro for the device type used in the 2009-09-13 14:47:31 +00:00
sun4v Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an 2009-09-08 20:45:40 +00:00
sys Revert r196779 in order to implement a different scheme for newbus locking 2009-09-13 15:08:19 +00:00
teken Commit all local modifications I have to libteken: 2009-09-12 12:44:21 +00:00
tools - Increase dynamic range of filter coefficients from 28bit to 30bit. 2009-07-05 18:15:06 +00:00
ufs Remove useless variable assignment. 2009-09-08 17:23:32 +00:00
vm Reintroduce the r196640, after fixing the problem with my testing. 2009-09-01 11:41:51 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00