Don't try to write back symlinks that don't have a data stream. This fixes bug #1179.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20813 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2037,6 +2037,9 @@ Inode::Sync()
|
||||
// We may also want to flush the attribute's data stream to
|
||||
// disk here... (do we?)
|
||||
|
||||
if (IsSymLink() && (Flags() & INODE_LONG_SYMLINK) == 0)
|
||||
return B_OK;
|
||||
|
||||
data_stream *data = &Node().data;
|
||||
status_t status = B_OK;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user