diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2015-11-05 19:54:04 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-11-11 02:18:27 -0500 |
commit | 88a578d823c1d8acb298cf317f76a3220d307d2e (patch) | |
tree | dea99e018539553a68b931d94cc89906dde8b499 | |
parent | 034ae4bac93afb483aaf8531e3a6de2ee7f1be6e (diff) |
fs: fix writeback.c kernel-doc warnings
Fix kernel-doc warnings in fs/fs-writeback.c by moving a #define macro
to after the function's opening brace. Also #undef this macro at the
end of the function.
..//fs/fs-writeback.c:1984: warning: Excess function parameter 'inode' description in 'I_DIRTY_INODE'
..//fs/fs-writeback.c:1984: warning: Excess function parameter 'flags' description in 'I_DIRTY_INODE'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/fs-writeback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 206a68b1db1a..023f6a1f23cd 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -1981,9 +1981,9 @@ static noinline void block_dump___mark_inode_dirty(struct inode *inode) | |||
1981 | * page->mapping->host, so the page-dirtying time is recorded in the internal | 1981 | * page->mapping->host, so the page-dirtying time is recorded in the internal |
1982 | * blockdev inode. | 1982 | * blockdev inode. |
1983 | */ | 1983 | */ |
1984 | #define I_DIRTY_INODE (I_DIRTY_SYNC | I_DIRTY_DATASYNC) | ||
1985 | void __mark_inode_dirty(struct inode *inode, int flags) | 1984 | void __mark_inode_dirty(struct inode *inode, int flags) |
1986 | { | 1985 | { |
1986 | #define I_DIRTY_INODE (I_DIRTY_SYNC | I_DIRTY_DATASYNC) | ||
1987 | struct super_block *sb = inode->i_sb; | 1987 | struct super_block *sb = inode->i_sb; |
1988 | int dirtytime; | 1988 | int dirtytime; |
1989 | 1989 | ||
@@ -2093,6 +2093,7 @@ void __mark_inode_dirty(struct inode *inode, int flags) | |||
2093 | out_unlock_inode: | 2093 | out_unlock_inode: |
2094 | spin_unlock(&inode->i_lock); | 2094 | spin_unlock(&inode->i_lock); |
2095 | 2095 | ||
2096 | #undef I_DIRTY_INODE | ||
2096 | } | 2097 | } |
2097 | EXPORT_SYMBOL(__mark_inode_dirty); | 2098 | EXPORT_SYMBOL(__mark_inode_dirty); |
2098 | 2099 | ||