From: Ryusuke Konishi Date: Sat, 30 May 2009 10:08:09 +0000 (+0900) Subject: nilfs2: return EBUSY against delete request on snapshot X-Git-Tag: v2.6.31-rc1~333^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c25be71fcbd87fd33518045cc014e69bff3d6f;p=pandora-kernel.git nilfs2: return EBUSY against delete request on snapshot This helps userland programs like the rmcp command to distinguish error codes returned against a checkpoint removal request. Previously -EPERM was returned, and not discriminable from real permission errors. This also allows removal of the latest checkpoint because the deletion leads to create a new checkpoint, and thus it's harmless for the filesystem. Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed