Review Request 111115: Handle ramfs mounts correctly so copying files to them works

Commit Hook null at kde.org
Fri Jun 21 22:46:08 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111115/
-----------------------------------------------------------

(Updated June 21, 2013, 9:46 p.m.)


Status
------

This change has been marked as submitted.


Review request for kdelibs and David Faure.


Description
-------

The attached patch adds RAMFS_MAGIC value to KFileSystemType so that KIO::CopyJob would not try to determine the available size on such mounts. Otherwise, the available size reported back will be zero (not correct) and KIO::CopyJob will fail with a disk full error.


This addresses bug 299156.
    http://bugs.kde.org/show_bug.cgi?id=299156


Diffs
-----

  kdecore/io/kfilesystemtype_p.h 3194329 
  kdecore/io/kfilesystemtype_p.cpp 23f8002 
  kio/kio/copyjob.cpp 1c23e8e 

Diff: http://git.reviewboard.kde.org/r/111115/diff/


Testing
-------

Mount RAMDISK as outlined in the bug report and attempt to copy file before and after the patch.


Thanks,

Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130621/d74202f1/attachment.htm>


More information about the kde-core-devel mailing list