summaryrefslogtreecommitdiffstats
path: root/kernel/fs/freevxfs/vxfs_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/freevxfs/vxfs_lookup.c')
-rw-r--r--kernel/fs/freevxfs/vxfs_lookup.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/kernel/fs/freevxfs/vxfs_lookup.c b/kernel/fs/freevxfs/vxfs_lookup.c
index 99c7f0a37..1cff72df0 100644
--- a/kernel/fs/freevxfs/vxfs_lookup.c
+++ b/kernel/fs/freevxfs/vxfs_lookup.c
@@ -61,13 +61,6 @@ const struct file_operations vxfs_dir_operations = {
.iterate = vxfs_readdir,
};
-
-static inline u_long
-dir_pages(struct inode *inode)
-{
- return (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
-}
-
static inline u_long
dir_blocks(struct inode *ip)
{
@@ -199,7 +192,7 @@ vxfs_inode_by_name(struct inode *dip, struct dentry *dp)
* by @dp in @dip.
*
* Returns:
- * A NULL-pointer on success, else an negative error code encoded
+ * A NULL-pointer on success, else a negative error code encoded
* in the return pointer.
*/
static struct dentry *