From: Daniel Drake Date: Tue, 10 Apr 2012 21:22:35 +0000 (+0100) Subject: JFFS2: Add parameter to reserve disk space for root X-Git-Tag: v3.5-rc1~8^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8da8ba2ea6ad52ea8558384f38586b0c1a516e9d;p=pandora-kernel.git JFFS2: Add parameter to reserve disk space for root Add a new rp_size= parameter which creates a "reserved pool" of disk space which can only be used by root. Other users are not permitted to write to disk when the available space is less than the pool size. Based on original code by Artem Bityutskiy in https://dev.laptop.org/ticket/5317 [dwmw2: use capable(CAP_SYS_RESOURCE) not uid/gid check, fix debug prints] Signed-off-by: Daniel Drake Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed