]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41dd4874f4cfcd778c9c0251347a4a2d8e7a6ec9
tree32a72e44ec480ee127b860f2dc5bcc3698a352e5
parentadceb611147987efc2652949f2282a726257c247
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