diff options
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 094775ea0781..414a90d48493 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -143,6 +143,7 @@ EXPORT_SYMBOL_GPL(nfs_sync_inode); | |||
143 | 143 | ||
144 | /** | 144 | /** |
145 | * nfs_sync_mapping - helper to flush all mmapped dirty data to disk | 145 | * nfs_sync_mapping - helper to flush all mmapped dirty data to disk |
146 | * @mapping: pointer to struct address_space | ||
146 | */ | 147 | */ |
147 | int nfs_sync_mapping(struct address_space *mapping) | 148 | int nfs_sync_mapping(struct address_space *mapping) |
148 | { | 149 | { |
@@ -1184,8 +1185,8 @@ int nfs_attribute_cache_expired(struct inode *inode) | |||
1184 | 1185 | ||
1185 | /** | 1186 | /** |
1186 | * nfs_revalidate_inode - Revalidate the inode attributes | 1187 | * nfs_revalidate_inode - Revalidate the inode attributes |
1187 | * @server - pointer to nfs_server struct | 1188 | * @server: pointer to nfs_server struct |
1188 | * @inode - pointer to inode struct | 1189 | * @inode: pointer to inode struct |
1189 | * | 1190 | * |
1190 | * Updates inode attribute information by retrieving the data from the server. | 1191 | * Updates inode attribute information by retrieving the data from the server. |
1191 | */ | 1192 | */ |
@@ -1255,8 +1256,8 @@ out: | |||
1255 | 1256 | ||
1256 | /** | 1257 | /** |
1257 | * nfs_revalidate_mapping - Revalidate the pagecache | 1258 | * nfs_revalidate_mapping - Revalidate the pagecache |
1258 | * @inode - pointer to host inode | 1259 | * @inode: pointer to host inode |
1259 | * @mapping - pointer to mapping | 1260 | * @mapping: pointer to mapping |
1260 | */ | 1261 | */ |
1261 | int nfs_revalidate_mapping(struct inode *inode, | 1262 | int nfs_revalidate_mapping(struct inode *inode, |
1262 | struct address_space *mapping) | 1263 | struct address_space *mapping) |
@@ -1371,8 +1372,8 @@ static void nfs_wcc_update_inode(struct inode *inode, struct nfs_fattr *fattr) | |||
1371 | 1372 | ||
1372 | /** | 1373 | /** |
1373 | * nfs_check_inode_attributes - verify consistency of the inode attribute cache | 1374 | * nfs_check_inode_attributes - verify consistency of the inode attribute cache |
1374 | * @inode - pointer to inode | 1375 | * @inode: pointer to inode |
1375 | * @fattr - updated attributes | 1376 | * @fattr: updated attributes |
1376 | * | 1377 | * |
1377 | * Verifies the attribute cache. If we have just changed the attributes, | 1378 | * Verifies the attribute cache. If we have just changed the attributes, |
1378 | * so that fattr carries weak cache consistency data, then it may | 1379 | * so that fattr carries weak cache consistency data, then it may |
@@ -1572,8 +1573,8 @@ EXPORT_SYMBOL_GPL(_nfs_display_fhandle); | |||
1572 | 1573 | ||
1573 | /** | 1574 | /** |
1574 | * nfs_inode_attrs_need_update - check if the inode attributes need updating | 1575 | * nfs_inode_attrs_need_update - check if the inode attributes need updating |
1575 | * @inode - pointer to inode | 1576 | * @inode: pointer to inode |
1576 | * @fattr - attributes | 1577 | * @fattr: attributes |
1577 | * | 1578 | * |
1578 | * Attempt to divine whether or not an RPC call reply carrying stale | 1579 | * Attempt to divine whether or not an RPC call reply carrying stale |
1579 | * attributes got scheduled after another call carrying updated ones. | 1580 | * attributes got scheduled after another call carrying updated ones. |
@@ -1614,8 +1615,8 @@ static int nfs_refresh_inode_locked(struct inode *inode, struct nfs_fattr *fattr | |||
1614 | 1615 | ||
1615 | /** | 1616 | /** |
1616 | * nfs_refresh_inode - try to update the inode attribute cache | 1617 | * nfs_refresh_inode - try to update the inode attribute cache |
1617 | * @inode - pointer to inode | 1618 | * @inode: pointer to inode |
1618 | * @fattr - updated attributes | 1619 | * @fattr: updated attributes |
1619 | * | 1620 | * |
1620 | * Check that an RPC call that returned attributes has not overlapped with | 1621 | * Check that an RPC call that returned attributes has not overlapped with |
1621 | * other recent updates of the inode metadata, then decide whether it is | 1622 | * other recent updates of the inode metadata, then decide whether it is |
@@ -1649,8 +1650,8 @@ static int nfs_post_op_update_inode_locked(struct inode *inode, | |||
1649 | 1650 | ||
1650 | /** | 1651 | /** |
1651 | * nfs_post_op_update_inode - try to update the inode attribute cache | 1652 | * nfs_post_op_update_inode - try to update the inode attribute cache |
1652 | * @inode - pointer to inode | 1653 | * @inode: pointer to inode |
1653 | * @fattr - updated attributes | 1654 | * @fattr: updated attributes |
1654 | * | 1655 | * |
1655 | * After an operation that has changed the inode metadata, mark the | 1656 | * After an operation that has changed the inode metadata, mark the |
1656 | * attribute cache as being invalid, then try to update it. | 1657 | * attribute cache as being invalid, then try to update it. |
@@ -1679,8 +1680,8 @@ EXPORT_SYMBOL_GPL(nfs_post_op_update_inode); | |||
1679 | 1680 | ||
1680 | /** | 1681 | /** |
1681 | * nfs_post_op_update_inode_force_wcc_locked - update the inode attribute cache | 1682 | * nfs_post_op_update_inode_force_wcc_locked - update the inode attribute cache |
1682 | * @inode - pointer to inode | 1683 | * @inode: pointer to inode |
1683 | * @fattr - updated attributes | 1684 | * @fattr: updated attributes |
1684 | * | 1685 | * |
1685 | * After an operation that has changed the inode metadata, mark the | 1686 | * After an operation that has changed the inode metadata, mark the |
1686 | * attribute cache as being invalid, then try to update it. Fake up | 1687 | * attribute cache as being invalid, then try to update it. Fake up |
@@ -1731,8 +1732,8 @@ out_noforce: | |||
1731 | 1732 | ||
1732 | /** | 1733 | /** |
1733 | * nfs_post_op_update_inode_force_wcc - try to update the inode attribute cache | 1734 | * nfs_post_op_update_inode_force_wcc - try to update the inode attribute cache |
1734 | * @inode - pointer to inode | 1735 | * @inode: pointer to inode |
1735 | * @fattr - updated attributes | 1736 | * @fattr: updated attributes |
1736 | * | 1737 | * |
1737 | * After an operation that has changed the inode metadata, mark the | 1738 | * After an operation that has changed the inode metadata, mark the |
1738 | * attribute cache as being invalid, then try to update it. Fake up | 1739 | * attribute cache as being invalid, then try to update it. Fake up |