Home
last modified time | relevance | path

Searched hist:c2837de7 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/9p/
H A Dvfs_inode.cc2837de7 Sun Jul 24 17:59:07 CDT 2011 Al Viro <viro@zeniv.linux.org.uk> 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>
c2837de7 Sun Jul 24 17:59:07 CDT 2011 Al Viro <viro@zeniv.linux.org.uk> 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>