summaryrefslogtreecommitdiff
path: root/mythfs/service/inodes
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-01-31 16:08:20 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-01-31 16:13:19 +0000
commita3dde47491ba27b6720ce5558053981271aa851b (patch)
tree93930f0b530a00e6436fe62d3e7e7bbc595b383f /mythfs/service/inodes
parentImplement statfs (diff)
downloadmythfs-a3dde47491ba27b6720ce5558053981271aa851b.tar.bz2
mythfs-a3dde47491ba27b6720ce5558053981271aa851b.tar.xz
mythfs-a3dde47491ba27b6720ce5558053981271aa851b.zip
Fix and test symlink attribute size
Diffstat (limited to 'mythfs/service/inodes')
-rw-r--r--mythfs/service/inodes/symlink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythfs/service/inodes/symlink.cpp b/mythfs/service/inodes/symlink.cpp
index 8dcc0df..5e86015 100644
--- a/mythfs/service/inodes/symlink.cpp
+++ b/mythfs/service/inodes/symlink.cpp
@@ -14,7 +14,7 @@ namespace MythFS {
return {
0, 0,
S_IRUSR | S_IRGRP | S_IROTH | S_IFLNK,
- 1,"root","root",0,0,0,0,0,0,0};
+ 1,"root","root",0,(Ice::Long)target.length(),0,0,0,0,0};
}
std::string