summaryrefslogtreecommitdiff
path: root/include/linux/auto_fs.h
AgeCommit message (Collapse)Author
2013-03-06unbreak automounter support on 64-bit kernel with 32-bit userspace (v2)Helge Deller
commit 4f4ffc3a5398ef9bdbb32db04756d7d34e356fcf upstream. automount-support is broken on the parisc architecture, because the existing #if list does not include a check for defined(__hppa__). The HPPA (parisc) architecture is similiar to other 64bit Linux targets where we have to define autofs_wqt_t (which is passed back and forth to user space) as int type which has a size of 32bit across 32 and 64bit kernels. During the discussion on the mailing list, H. Peter Anvin suggested to invert the #if list since only specific platforms (specifically those who do not have a 32bit userspace, like IA64 and Alpha) should have autofs_wqt_t as unsigned long type. This suggestion is probably the best way to go, since Arm64 (and maybe others?) seems to have a non-working automounter. So in the long run even for other new upcoming architectures this inverted check seem to be the best solution, since it will not require them to change this #if again (unless they are 64bit only). Signed-off-by: Helge Deller <deller@gmx.de> Acked-by: H. Peter Anvin <hpa@zytor.com> Acked-by: Ian Kent <raven@themaw.net> Acked-by: Catalin Marinas <catalin.marinas@arm.com> CC: James Bottomley <James.Bottomley@HansenPartnership.com> CC: Rolf Eike Beer <eike-kernel@sf-tec.de> [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2010-08-09autofs/autofs4: Move compat_ioctl handling into fsArnd Bergmann
Handling of autofs ioctl numbers does not need to be generic and can easily be done directly in autofs itself. This also pushes the BKL into autofs and autofs4 ioctl methods. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: H. Peter Anvin <hpa@zytor.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Ian Kent <raven@themaw.net> Cc: Autofs <autofs@linux.kernel.org> Cc: John Kacur <jkacur@redhat.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
2009-06-01headers_check fix: linux/auto_fs.hJaswinder Singh Rajput
fix the following 'make headers_check' warnings: usr/include/linux/auto_fs.h:17: include of <linux/types.h> is preferred over <asm/types.h> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
2009-04-01autofs4: fix kernel includesIan Kent
autofs_dev-ioctl.h is included by both the kernel module and user space tools and it includes two kernel header files. Compiles work if the kernel headers are installed but fail otherwise. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2003-09-06[PATCH] janitor: remove unneeded version.h #includesRandy Dunlap
From: Randy Hron <rwhron@earthlink.net> remove unneeded linux/version.h usage & some duplicate #includes;
2002-09-30[PATCH] trivial bits.Dave Jones
Adrian Bunk went through .39-dj, and pulled out a bunch of trivial bits (docs changes, whitespace fixes etc) - CREDITS: update the web-address of Tigran A. Aivazian - Documentation/Changes: higher minimum version of reiserfsprogs - s/www.linuxdoc.org/www.tldp.org/g in: - Documentation/DocBook/sis900.tmpl - Documentation/kernel-docs.txt - Documentation/scsi-generic.txt - Documentation/scsi.txt - Documentation/sound/oss/PAS16 - Documentation/filesystems/isofs.txt: document where to get ISO 9660 docs from - Documentation/networking/00-INDEX: document that e100.txt and e1000.txt are present - typo fixes in: - Documentation/networking/ip-sysctl.txt - Documentation/s390/Debugging390.txt - drivers/ide/Config.help - MAINTAINERS: - update location of the emu10k1-devel and linux-mips lists - Remy Card is no longer ext2 maintainer - list Andrew Morton instead of Remy Card as second ext3 maintainer - update mail addresses of Riley H. Williams and Jack Hammer - misc whitespace -> tab fixes - arch/mips/kernel/time.c: correct the location of a README - whitespace -> tab fixes in drivers/net/{3c505,3c509,arcnet/arcnet,at1700,hamradio/scc,ni65, pcmcia/aironet4500_cs}.c and drivers/net/wan/lmc/lmc_var.h - drivers/pci/quirks.c: update URL - remove tabs/whitespace at the end of lines in: - drivers/tc/lk201-map.map - drivers/tc/lk201-remap.c - drivers/tc/zs.h - fs/jfs/jfs_logmgr.c: remove two extra empty lines - include/linux/auto_fs.h: s/__x86_64/__x86_64__/
2002-06-17[PATCH] 2.5.22: common code changes for s/390.Martin Schwidefsky
1) Add __s390__ to the list of architectures that use unsigned int as type for rautofs_wqt_t. __s390__ is defined for both 31-bit and 64-bit linux for s/390. Both architectures are fine with unsigned int since sizeof(unsigned int) == sizeof(unsigned long) for 31 bit s/390. 2) Remove early initialization call ccwcache_init(). It doesn't exists anymore. 3) Remove special case for irq_stat. We moved the irq_stat structure out of the lowcore. 4) Replace acquire_console_sem with down_trylock & return to avoid an endless trap loop if console_unblank is called from interrupt context and the console semaphore is taken.
2002-05-26[PATCH] autofs_wqt_t for ppc64Rusty Russell
Anton Blanchard <anton@samba.org>: Fix autofs on ppc64: Define autofs_wqt_t to be an int on ppc64, just like the other mixed 32/64 bit archs do.
2002-04-19[PATCH] autofs fix for x86-64Andi Kleen
Minor patch for the x86-64 32bit emulation. Originally proposed by hpa and it makes autofs 32bit/64bit clean for x86-64
2002-02-04Import changesetLinus Torvalds