On Fri, Apr 17, 2015 at 08:09:10PM +0100, Al Viro wrote:
> On Fri, Apr 17, 2015 at 05:25:36PM +0100, Al Viro wrote:
> > On Mon, Mar 23, 2015 at 01:37:40PM +1100, NeilBrown wrote:
> > > @@ -1669,13 +1669,14 @@ static inline int nested_symlink(struct path
> > > *path, struct nameidata *nd)
> > >
On Fri, Apr 17, 2015 at 08:09:10PM +0100, Al Viro wrote:
On Fri, Apr 17, 2015 at 05:25:36PM +0100, Al Viro wrote:
On Mon, Mar 23, 2015 at 01:37:40PM +1100, NeilBrown wrote:
@@ -1669,13 +1669,14 @@ static inline int nested_symlink(struct path
*path, struct nameidata *nd)
do {
On Fri, Apr 17, 2015 at 05:25:36PM +0100, Al Viro wrote:
> On Mon, Mar 23, 2015 at 01:37:40PM +1100, NeilBrown wrote:
> > @@ -1669,13 +1669,14 @@ static inline int nested_symlink(struct path *path,
> > struct nameidata *nd)
> >
> > do {
> > struct path link = *path;
> > +
On Mon, Mar 23, 2015 at 01:37:40PM +1100, NeilBrown wrote:
> @@ -1669,13 +1669,14 @@ static inline int nested_symlink(struct path *path,
> struct nameidata *nd)
>
> do {
> struct path link = *path;
> + struct inode *inode = link.dentry->d_inode;
>
On Mon, Mar 23, 2015 at 01:37:40PM +1100, NeilBrown wrote:
@@ -1669,13 +1669,14 @@ static inline int nested_symlink(struct path *path,
struct nameidata *nd)
do {
struct path link = *path;
+ struct inode *inode = link.dentry-d_inode;
void
On Fri, Apr 17, 2015 at 05:25:36PM +0100, Al Viro wrote:
On Mon, Mar 23, 2015 at 01:37:40PM +1100, NeilBrown wrote:
@@ -1669,13 +1669,14 @@ static inline int nested_symlink(struct path *path,
struct nameidata *nd)
do {
struct path link = *path;
+ struct
When symlinks are followed in RCU-walk, dentry->d_inode
may have changed between the call to ->follow_link and
the call to ->put_link.
So we need to preserve the inode used in the first instance,
and use it to find the correct put_link.
Note that this means that when RCU-walk is permitted in
When symlinks are followed in RCU-walk, dentry-d_inode
may have changed between the call to -follow_link and
the call to -put_link.
So we need to preserve the inode used in the first instance,
and use it to find the correct put_link.
Note that this means that when RCU-walk is permitted in
8 matches
Mail list logo