Skip to contentSkip to conversation

fs.h: Remove comment referring to removed inode-operation

PATCH New Matt Kilgore 1 participant 1 message Oct 4, 2015 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs.h: Remove comment referring to removed inode-operation

struct inode_operations has a comment that used to refer to the removed operation dentry_open, add in commit 4aa7c6346be3 ("vfs: add i_op->dentry_open()"), mentioning that it was going to be removed soon. The comment was not removed when the dentry_open operation was removed in commit 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay").

---
 include/linux/fs.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/fs.h +0 -2
index 72d8a84..e495b3e 100644
@@ -1678,8 +1678,6 @@ struct inode_operations {
 			   umode_t create_mode, int *opened);
 	int (*tmpfile) (struct inode *, struct dentry *, umode_t);
 	int (*set_acl)(struct inode *, struct posix_acl *, int);
-
-	/* WARNING: probably going away soon, do not use! */
 } ____cacheline_aligned;
 
 ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,
Signature · 1 line
2.5.0