Btrfs: Fix checkpatch.pl warnings
There were many, most are fixed now. struct-funcs.c generates some warnings but these are bogus. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#define btrfs_drop_nlink(inode) drop_nlink(inode)
|
||||
#define btrfs_inc_nlink(inode) inc_nlink(inode)
|
||||
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,27)
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 27)
|
||||
static inline struct dentry *d_obtain_alias(struct inode *inode)
|
||||
{
|
||||
struct dentry *d;
|
||||
@@ -21,7 +21,7 @@ static inline struct dentry *d_obtain_alias(struct inode *inode)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28)
|
||||
# define __pagevec_lru_add_file __pagevec_lru_add
|
||||
# define open_bdev_exclusive open_bdev_excl
|
||||
# define close_bdev_exclusive(bdev, mode) close_bdev_excl(bdev)
|
||||
|
Reference in New Issue
Block a user