diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-30 06:08:09 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-06-10 10:41:12 -0400 |
commit | 30c25be71fcbd87fd33518045cc014e69bff3d6f (patch) | |
tree | 89b9ea993834f57b7390a24fdfacf6099b854b54 /fs/nilfs2/btnode.h | |
parent | fb6e7113ae3ba6c7d0de77c6ccbcfa659899ff0f (diff) |
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 <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/btnode.h')
0 files changed, 0 insertions, 0 deletions