diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-02 10:37:09 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-10 22:18:26 -0400 |
commit | 2e03f3ea7acbee59a89ea73a696b2eb4c3145cde (patch) | |
tree | 0d9a2ad8183ff73678ee231ab93730ebff048324 /fs/sysv/inode.c | |
parent | 0f301bd3055e86771e7c738ca009afad0964dbd2 (diff) | |
download | blackbird-op-linux-2e03f3ea7acbee59a89ea73a696b2eb4c3145cde.tar.gz blackbird-op-linux-2e03f3ea7acbee59a89ea73a696b2eb4c3145cde.zip |
sysv: switch to simple_follow_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysv/inode.c')
-rw-r--r-- | fs/sysv/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index 88956309cc86..590ad9206e3f 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c @@ -166,8 +166,9 @@ void sysv_set_inode(struct inode *inode, dev_t rdev) inode->i_op = &sysv_symlink_inode_operations; inode->i_mapping->a_ops = &sysv_aops; } else { - inode->i_op = &sysv_fast_symlink_inode_operations; - nd_terminate_link(SYSV_I(inode)->i_data, inode->i_size, + inode->i_op = &simple_symlink_inode_operations; + inode->i_link = (char *)SYSV_I(inode)->i_data; + nd_terminate_link(inode->i_link, inode->i_size, sizeof(SYSV_I(inode)->i_data) - 1); } } else |