commit | c2837de73e8081bd33bc72ad73f49d6bcba9d1b6 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jul 24 18:59:07 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:54:58 2012 -0500 |
tree | 3fca43b0147fc075c24a26aba1a60568ffd25f90 | |
parent | 18cb1b08d2e1ff6907130fc0ce78a5912efa0ba5 [diff] |
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>