From: Miklos Szeredi Date: Tue, 1 Jul 2008 13:01:29 +0000 (+0200) Subject: [patch 4/4] vfs: immutable inode checking cleanup X-Git-Tag: v2.6.27-rc1~73^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb29e058c35ab69e96e455a12ccf7505f6de425;p=pandora-kernel.git [patch 4/4] vfs: immutable inode checking cleanup Move the immutable and append-only checks from chmod, chown and utimes into notify_change(). Checks for immutable and append-only files are always performed by the VFS and not by the filesystem (see permission() and may_...() in namei.c), so these belong in notify_change(), and not in inode_change_ok(). This should be completely equivalent. CC: Ulrich Drepper CC: Michael Kerrisk Signed-off-by: Miklos Szeredi Signed-off-by: Al Viro --- Reading git-diff-tree failed