]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd818a2554b73f6799db37b46e3ce9e2ae7f74435
treeb62877c489fb682033c37d30d91c53e4d0c3833a
parent3ab7bc7f0ccfc52efbf4ce21cd8598909aee955a
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