]> 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)
commitdcaae4f2847f66ce4e9400a46756257cd718b392
tree112d8c8a2f0adb0b68356b1e39209454a7a6ea71
parent5c4672bcb9221029caf586a9560647c3ea121c79
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