9p: don't bother with unixmode2p9mode() for link() and symlink()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jul 2011 22:59:07 +0000 (18:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:54:58 +0000 (22:54 -0500)
commitc2837de73e8081bd33bc72ad73f49d6bcba9d1b6
tree3fca43b0147fc075c24a26aba1a60568ffd25f90
parent18cb1b08d2e1ff6907130fc0ce78a5912efa0ba5
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 <viro@zeniv.linux.org.uk>
fs/9p/vfs_inode.c