Re: [PATCH 2/3 v4] devpts: resolve devpts bind-mounts

2018-03-12 Thread Linus Torvalds
On Mon, Mar 12, 2018 at 5:01 PM, Christian Brauner wrote: > > ChangeLog v3->v4: > * simplify if condition Ok, I definitely prefer this simpler version. We could simplify it even more, though. That end could be just ... dput(path.dentry); if

Re: [PATCH 2/3 v4] devpts: resolve devpts bind-mounts

2018-03-12 Thread Linus Torvalds
On Mon, Mar 12, 2018 at 5:01 PM, Christian Brauner wrote: > > ChangeLog v3->v4: > * simplify if condition Ok, I definitely prefer this simpler version. We could simplify it even more, though. That end could be just ... dput(path.dentry); if (!err) { if