Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
fs
/
freevxfs
/
vxfs_lookup.c
diff --git
a/kernel/fs/freevxfs/vxfs_lookup.c
b/kernel/fs/freevxfs/vxfs_lookup.c
index
99c7f0a
..
1cff72d
100644
(file)
--- 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,
};
.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)
{
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:
* by @dp in @dip.
*
* Returns:
- * A NULL-pointer on success, else a
n
negative error code encoded
+ * A NULL-pointer on success, else a negative error code encoded
* in the return pointer.
*/
static struct dentry *
* in the return pointer.
*/
static struct dentry *