Skip to content

Commit

Permalink
NFS: Fix the sign of the return value of nfs_save_change_attribute()
Browse files Browse the repository at this point in the history
Also fix up the comments.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Oct 9, 2007
1 parent 70ca885 commit 8edb018
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/linux/nfs_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ static inline int NFS_USE_READDIRPLUS(struct inode *inode)

/**
* nfs_save_change_attribute - Returns the inode attribute change cookie
* @inode - pointer to inode
* @dir - pointer to parent directory inode
* The "change attribute" is updated every time we finish an operation
* that will result in a metadata change on the server.
*/
static inline long nfs_save_change_attribute(struct inode *inode)
static inline unsigned long nfs_save_change_attribute(struct inode *dir)
{
return NFS_I(inode)->cache_change_attribute;
return NFS_I(dir)->cache_change_attribute;
}

/**
Expand Down

0 comments on commit 8edb018

Please sign in to comment.