diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-09-29 17:14:03 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:19:18 -0400 |
commit | 8edb01828837302055a8f0afddb2256659480bc5 (patch) | |
tree | 2364320f7afa0d41011f2e7824b4ca5865d56924 /include/linux | |
parent | 70ca88521fc7bee8ef0fc22033a439d4b9a2c70d (diff) |
NFS: Fix the sign of the return value of nfs_save_change_attribute()
Also fix up the comments.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_fs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 9449286c5867..a765dd456922 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -260,13 +260,13 @@ static inline int NFS_USE_READDIRPLUS(struct inode *inode) | |||
260 | 260 | ||
261 | /** | 261 | /** |
262 | * nfs_save_change_attribute - Returns the inode attribute change cookie | 262 | * nfs_save_change_attribute - Returns the inode attribute change cookie |
263 | * @inode - pointer to inode | 263 | * @dir - pointer to parent directory inode |
264 | * The "change attribute" is updated every time we finish an operation | 264 | * The "change attribute" is updated every time we finish an operation |
265 | * that will result in a metadata change on the server. | 265 | * that will result in a metadata change on the server. |
266 | */ | 266 | */ |
267 | static inline long nfs_save_change_attribute(struct inode *inode) | 267 | static inline unsigned long nfs_save_change_attribute(struct inode *dir) |
268 | { | 268 | { |
269 | return NFS_I(inode)->cache_change_attribute; | 269 | return NFS_I(dir)->cache_change_attribute; |
270 | } | 270 | } |
271 | 271 | ||
272 | /** | 272 | /** |