btrfs: print an error if finding compressed/encrypted data
authorH. Peter Anvin <hpa@zytor.com>
Tue, 6 Jul 2010 00:50:13 +0000 (17:50 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 6 Jul 2010 00:50:13 +0000 (17:50 -0700)
commit31972117a90a7109413bb59e1f33d55fcbdf01db
treec71da7e684654760ddaf22e77483c865131a562e
parent91a2ac9e8cba8c52340dd17d7023b9dbd7bd81f9
btrfs: print an error if finding compressed/encrypted data

If we find compressed or encrypted data, print an error message
instead of returning garbage.  This is suboptimal, but at least
handles the common subcase of an encrypted configuration file.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/btrfs/btrfs.c
core/fs/getfssec.c