Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

f2fs: clean up coding style and redundancy

This patch includes minor clean-ups.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

+3 -3
+1 -1
fs/f2fs/acl.h
··· 37 37 #ifdef CONFIG_F2FS_FS_POSIX_ACL 38 38 39 39 extern struct posix_acl *f2fs_get_acl(struct inode *, int); 40 - extern int f2fs_set_acl(struct inode *inode, struct posix_acl *acl, int type); 40 + extern int f2fs_set_acl(struct inode *, struct posix_acl *, int); 41 41 extern int f2fs_init_acl(struct inode *, struct inode *, struct page *, 42 42 struct page *); 43 43 #else
+2 -2
fs/f2fs/data.c
··· 1731 1731 if (test_opt(F2FS_I_SB(inode), LFS)) 1732 1732 return 0; 1733 1733 1734 - trace_f2fs_direct_IO_enter(inode, offset, count, iov_iter_rw(iter)); 1734 + trace_f2fs_direct_IO_enter(inode, offset, count, rw); 1735 1735 1736 1736 down_read(&F2FS_I(inode)->dio_rwsem[rw]); 1737 1737 err = blockdev_direct_IO(iocb, inode, iter, get_data_block_dio); ··· 1744 1744 f2fs_write_failed(mapping, offset + count); 1745 1745 } 1746 1746 1747 - trace_f2fs_direct_IO_exit(inode, offset, count, iov_iter_rw(iter), err); 1747 + trace_f2fs_direct_IO_exit(inode, offset, count, rw, err); 1748 1748 1749 1749 return err; 1750 1750 }