diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-07-03 11:08:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-03 16:44:45 -0400 |
commit | 3fae17468a96f3a397dff633be82a42d89fb1b91 (patch) | |
tree | 736c8b1234512d17a333eb29c736faeccfc5376a | |
parent | cf85ec88701610f0de2e959ac447d9613462fbc7 (diff) |
fs: Fix attr.c kernel-doc
A couple of minor warnings.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/attr.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -120,7 +120,6 @@ EXPORT_SYMBOL(setattr_prepare); | |||
120 | * inode_newsize_ok - may this inode be truncated to a given size | 120 | * inode_newsize_ok - may this inode be truncated to a given size |
121 | * @inode: the inode to be truncated | 121 | * @inode: the inode to be truncated |
122 | * @offset: the new size to assign to the inode | 122 | * @offset: the new size to assign to the inode |
123 | * @Returns: 0 on success, -ve errno on failure | ||
124 | * | 123 | * |
125 | * inode_newsize_ok must be called with i_mutex held. | 124 | * inode_newsize_ok must be called with i_mutex held. |
126 | * | 125 | * |
@@ -130,6 +129,8 @@ EXPORT_SYMBOL(setattr_prepare); | |||
130 | * returned. @inode must be a file (not directory), with appropriate | 129 | * returned. @inode must be a file (not directory), with appropriate |
131 | * permissions to allow truncate (inode_newsize_ok does NOT check these | 130 | * permissions to allow truncate (inode_newsize_ok does NOT check these |
132 | * conditions). | 131 | * conditions). |
132 | * | ||
133 | * Return: 0 on success, -ve errno on failure | ||
133 | */ | 134 | */ |
134 | int inode_newsize_ok(const struct inode *inode, loff_t offset) | 135 | int inode_newsize_ok(const struct inode *inode, loff_t offset) |
135 | { | 136 | { |
@@ -205,7 +206,7 @@ EXPORT_SYMBOL(setattr_copy); | |||
205 | /** | 206 | /** |
206 | * notify_change - modify attributes of a filesytem object | 207 | * notify_change - modify attributes of a filesytem object |
207 | * @dentry: object affected | 208 | * @dentry: object affected |
208 | * @iattr: new attributes | 209 | * @attr: new attributes |
209 | * @delegated_inode: returns inode, if the inode is delegated | 210 | * @delegated_inode: returns inode, if the inode is delegated |
210 | * | 211 | * |
211 | * The caller must hold the i_mutex on the affected object. | 212 | * The caller must hold the i_mutex on the affected object. |