| Age | Commit message (Collapse) | Author |
|
linux/limits.h should be included by uapi instead of linux/auto_fs.h
so as not to cause compile error in userspace.
# cat << EOF > ./test1.c
> #include <stdio.h>
> #include <linux/auto_fs.h>
> int main(void) {
> return 0;
> }
> EOF
# gcc -Wall -g ./test1.c
In file included from ./test1.c:2:0:
/usr/include/linux/auto_fs.h:54:12: error: 'NAME_MAX' undeclared here (not in a function)
char name[NAME_MAX+1];
^
Link: http://lkml.kernel.org/r/20160812024856.12352.24092.stgit@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Ian Kent <ikent@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
|
Try and make the coding style completely consistent throughtout the
autofs module and inline with kernel coding style recommendations.
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>
|
|
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Randy Hron <rwhron@earthlink.net>
remove unneeded linux/version.h usage & some duplicate
#includes;
|
|
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__/
|
|
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.
|
|
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.
|
|
Minor patch for the x86-64 32bit emulation. Originally proposed by hpa and it
makes autofs 32bit/64bit clean for x86-64
|
|
|