From: Al Viro Date: Sun, 24 Jul 2011 22:59:07 +0000 (-0400) Subject: 9p: don't bother with unixmode2p9mode() for link() and symlink() X-Git-Tag: v3.3-rc1~170^2~11^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2837de73e8081bd33bc72ad73f49d6bcba9d1b6;p=pandora-kernel.git 9p: don't bother with unixmode2p9mode() for link() and symlink() Pass perm to v9fs_vfs_mkspecial() instead of passing mode; calculate in caller when done for mknod(), use known value for link() and symlink(). As the result, we avoid a bit of work *and* stop mixing mode_t with P9_DMLINK. Signed-off-by: Al Viro --- Reading git-diff-tree failed