btrfs: add varargs to btrfs_error
authorJeff Mahoney <jeffm@suse.com>
Thu, 1 Mar 2012 13:57:30 +0000 (14:57 +0100)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:40 +0000 (01:45 +0100)
commit068f944ce72fb59744c738e3428706f34a16ec6d
tree32a72e44ec480ee127b860f2dc5bcc3698a352e5
parent29cc93f4fab3ea348fd18145659f0701f8e1a806
btrfs: add varargs to btrfs_error

 btrfs currently handles most errors with BUG_ON. This patch is a work-in-
 progress but aims to handle most errors other than internal logic
 errors and ENOMEM more gracefully.

 This iteration prevents most crashes but can run into lockups with
 the page lock on occasion when the timing "works out."

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
fs/btrfs/ctree.h
fs/btrfs/super.c