* [PATCH] vfs: remove stale comment in inode_operations
@ 2015-09-08 22:59 Ross Zwisler
2015-10-08 23:07 ` Ross Zwisler
0 siblings, 1 reply; 3+ messages in thread
From: Ross Zwisler @ 2015-09-08 22:59 UTC (permalink / raw)
To: linux-kernel
Cc: Ross Zwisler, J. Bruce Fields, Jeff Layton, linux-fsdevel,
Miklos Szeredi, David Howells
The big warning comment that is currently at the end of struct
inode_operations was added as part of this commit:
4aa7c6346be3 ("vfs: add i_op->dentry_open()")
It was added to warn people not to use the newly added 'dentry_open'
function pointer.
This function pointer was removed as part of this commit:
4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and
f_inode to the underlay")
The comment was left behind and now refers to nothing, so remove it.
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
---
include/linux/fs.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index b2f9b9c..b3ff479 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1679,8 +1679,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,
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] vfs: remove stale comment in inode_operations
2015-09-08 22:59 [PATCH] vfs: remove stale comment in inode_operations Ross Zwisler
@ 2015-10-08 23:07 ` Ross Zwisler
2015-10-12 13:44 ` Jan Kara
0 siblings, 1 reply; 3+ messages in thread
From: Ross Zwisler @ 2015-10-08 23:07 UTC (permalink / raw)
To: Ross Zwisler
Cc: linux-kernel, J. Bruce Fields, Jeff Layton, linux-fsdevel,
Miklos Szeredi, David Howells
On Tue, Sep 08, 2015 at 04:59:20PM -0600, Ross Zwisler wrote:
> The big warning comment that is currently at the end of struct
> inode_operations was added as part of this commit:
>
> 4aa7c6346be3 ("vfs: add i_op->dentry_open()")
>
> It was added to warn people not to use the newly added 'dentry_open'
> function pointer.
>
> This function pointer was removed as part of this commit:
>
> 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and
> f_inode to the underlay")
>
> The comment was left behind and now refers to nothing, so remove it.
>
> Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
> ---
> include/linux/fs.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/fs.h b/include/linux/fs.h
> index b2f9b9c..b3ff479 100644
> --- a/include/linux/fs.h
> +++ b/include/linux/fs.h
> @@ -1679,8 +1679,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,
Ping?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] vfs: remove stale comment in inode_operations
2015-10-08 23:07 ` Ross Zwisler
@ 2015-10-12 13:44 ` Jan Kara
0 siblings, 0 replies; 3+ messages in thread
From: Jan Kara @ 2015-10-12 13:44 UTC (permalink / raw)
To: Ross Zwisler
Cc: linux-kernel, J. Bruce Fields, Jeff Layton, linux-fsdevel,
Miklos Szeredi, David Howells, Al Viro
On Thu 08-10-15 17:07:20, Ross Zwisler wrote:
> On Tue, Sep 08, 2015 at 04:59:20PM -0600, Ross Zwisler wrote:
> > The big warning comment that is currently at the end of struct
> > inode_operations was added as part of this commit:
> >
> > 4aa7c6346be3 ("vfs: add i_op->dentry_open()")
> >
> > It was added to warn people not to use the newly added 'dentry_open'
> > function pointer.
> >
> > This function pointer was removed as part of this commit:
> >
> > 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and
> > f_inode to the underlay")
> >
> > The comment was left behind and now refers to nothing, so remove it.
> >
> > Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
> > ---
> > include/linux/fs.h | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/include/linux/fs.h b/include/linux/fs.h
> > index b2f9b9c..b3ff479 100644
> > --- a/include/linux/fs.h
> > +++ b/include/linux/fs.h
> > @@ -1679,8 +1679,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,
>
> Ping?
Probably should go to Al. Added to CC.
Honza
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-12 13:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 22:59 [PATCH] vfs: remove stale comment in inode_operations Ross Zwisler
2015-10-08 23:07 ` Ross Zwisler
2015-10-12 13:44 ` Jan Kara
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.