Mark Fasheh and g2p btrfs-extent-same: allow root to always dedupe
b5f01bd Jun 26, 2013
btrfs-extent-same: allow root to always dedupe
This will allow end users to run dedupe against their readonly snapshots - a
common method for making backups of btrfs subvolumes. Since it is impossible
for root to get a rw file descriptor on such a snapshot, this enables dedupe
from a privileged account to proceed with read access. Non root accounts
still have the same access restrictions - they cannot dedupe without write
access to the file.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
b5f01bd