Add an AT_NO_AUTOMOUNT flag to suppress terminal automount
authorDavid Howells <dhowells@redhat.com>
Fri, 14 Jan 2011 18:45:31 +0000 (18:45 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Jan 2011 01:07:33 +0000 (20:07 -0500)
commit6f45b65672c8017d5e210e338bb5858a938ef445
treeb62877c489fb682033c37d30d91c53e4d0c3833a
parentcc53ce53c86924bfe98a12ea20b7465038a08792
Add an AT_NO_AUTOMOUNT flag to suppress terminal automount

Add an AT_NO_AUTOMOUNT flag to suppress terminal automounting of automount
point directories.  This can be used by fstatat() users to permit the
gathering of attributes on an automount point and also prevent
mass-automounting of a directory of automount points by ls.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
fs/stat.c
include/linux/fcntl.h
include/linux/namei.h