]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: add varargs to btrfs_error
authorJeff Mahoney <jeffm@suse.com>
Thu, 1 Mar 2012 13:57:30 +0000 (14:57 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 14 Nov 2012 16:24:35 +0000 (08:24 -0800)
commitbfa9df4fc71a310a5c4fa9b695414c8ed0ead039
tree3601ca8b3bf3ca0785d9f4e122f1b02ab72e8cea
parentf9141e6e3fad3aebdfd1ee163f3aedc2d879be76
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