]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: Split inode_permission()
authorDavid Howells <dhowells@redhat.com>
Mon, 25 Jun 2012 11:55:46 +0000 (12:55 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:38:36 +0000 (16:38 +0400)
commitd235edbf973d1b6eabd8c5f9a1899874d15c6f19
tree112d8c8a2f0adb0b68356b1e39209454a7a6ea71
parentc4202b5cb59b46fabe7f7c34918f1bdb87ccd2e9
VFS: Split inode_permission()

Split inode_permission() into inode- and superblock-dependent parts.

This is aimed at unionmounts where the superblock from the upper layer has to
be checked rather than the superblock from the lower layer as the upper layer
may be writable, thus allowing an unwritable file from the lower layer to be
copied up and modified.

Original-author: Valerie Aurora <vaurora@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com> (Further development)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/internal.h
fs/namei.c