.. | .. |
---|
317 | 317 | struct backing_dev_info *s_bdi; |
---|
318 | 318 | #endif |
---|
319 | 319 | struct mtd_info *s_mtd; |
---|
320 | | - struct hlist_node s_instances; |
---|
321 | 320 | #ifndef __UBOOT__ |
---|
| 321 | + struct hlist_node s_instances; |
---|
322 | 322 | struct quota_info s_dquot; /* Diskquota specific options */ |
---|
323 | 323 | #endif |
---|
324 | 324 | |
---|
.. | .. |
---|
611 | 611 | /* misc.h */ |
---|
612 | 612 | #define mutex_lock_nested(...) |
---|
613 | 613 | #define mutex_unlock_nested(...) |
---|
614 | | -#define mutex_is_locked(...) 0 |
---|
| 614 | +#define mutex_is_locked(...) 1 |
---|
615 | 615 | #endif |
---|
616 | 616 | |
---|
617 | 617 | /* Version of this UBIFS implementation */ |
---|
618 | 618 | #define UBIFS_VERSION 1 |
---|
619 | 619 | |
---|
620 | 620 | /* Normal UBIFS messages */ |
---|
| 621 | +#ifdef CONFIG_UBIFS_SILENCE_MSG |
---|
| 622 | +#define ubifs_msg(c, fmt, ...) |
---|
| 623 | +#else |
---|
621 | 624 | #define ubifs_msg(c, fmt, ...) \ |
---|
622 | 625 | pr_notice("UBIFS (ubi%d:%d): " fmt "\n", \ |
---|
623 | 626 | (c)->vi.ubi_num, (c)->vi.vol_id, ##__VA_ARGS__) |
---|
| 627 | +#endif |
---|
624 | 628 | /* UBIFS error messages */ |
---|
625 | 629 | #ifndef __UBOOT__ |
---|
626 | 630 | #define ubifs_err(c, fmt, ...) \ |
---|