Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588425 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-02-27 01:20 +0100 |
| Last post | 2017-02-27 09:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: manual merge of the vfs tree with Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-02-27 01:20 +0100
Re: linux-next: manual merge of the vfs tree with Linus' tree David Howells <dhowells@redhat.com> - 2017-02-27 09:40 +0100
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-02-27 01:20 +0100 |
| Subject | linux-next: manual merge of the vfs tree with Linus' tree |
| Message-ID | <tfhcJ-5WG-1@gated-at.bofh.it> |
Hi all,
Today's linux-next merge of the vfs tree got a conflict in:
fs/proc/base.c
between commit:
68eb94f16227 ("proc: Better ownership of files for non-dumpable tasks in user namespaces")
from Linus' tree and commit:
caffc373c573 ("statx: Add a system call to make enhanced file info available")
from the vfs tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc fs/proc/base.c
index b8f06273353e,b5a5d3cab358..000000000000
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@@ -1724,11 -1711,13 +1724,12 @@@ out_unlock
return NULL;
}
- int pid_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
+ int pid_getattr(const struct path *path, struct kstat *stat,
+ u32 request_mask, unsigned int query_flags)
{
- struct inode *inode = d_inode(dentry);
+ struct inode *inode = d_inode(path->dentry);
struct task_struct *task;
- struct pid_namespace *pid = dentry->d_sb->s_fs_info;
- const struct cred *cred;
+ struct pid_namespace *pid = path->dentry->d_sb->s_fs_info;
generic_fillattr(inode, stat);
[toc] | [next] | [standalone]
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Date | 2017-02-27 09:40 +0100 |
| Message-ID | <tfp0B-2ZZ-7@gated-at.bofh.it> |
| In reply to | #1588425 |
Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Today's linux-next merge of the vfs tree got a conflict in:
>
> fs/proc/base.c
>
> between commit:
>
> 68eb94f16227 ("proc: Better ownership of files for non-dumpable tasks in user namespaces")
>
> from Linus' tree and commit:
>
> caffc373c573 ("statx: Add a system call to make enhanced file info available")
>
> from the vfs tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> --
> Cheers,
> Stephen Rothwell
>
> diff --cc fs/proc/base.c
> index b8f06273353e,b5a5d3cab358..000000000000
> --- a/fs/proc/base.c
> +++ b/fs/proc/base.c
> @@@ -1724,11 -1711,13 +1724,12 @@@ out_unlock
> return NULL;
> }
>
> - int pid_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
> + int pid_getattr(const struct path *path, struct kstat *stat,
> + u32 request_mask, unsigned int query_flags)
> {
> - struct inode *inode = d_inode(dentry);
> + struct inode *inode = d_inode(path->dentry);
> struct task_struct *task;
> - struct pid_namespace *pid = dentry->d_sb->s_fs_info;
> - const struct cred *cred;
> + struct pid_namespace *pid = path->dentry->d_sb->s_fs_info;
>
> generic_fillattr(inode, stat);
>
Reviewed-by: David Howells <dhowells@redhat.com>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web