These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / fs / freevxfs / vxfs_lookup.c
index 99c7f0a..1cff72d 100644 (file)
@@ -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 *