Re: [PATCH 03/18] ovl: stack miscattr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 5, 2021 at 12:49 AM Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:

> > +int ovl_miscattr_set(struct dentry *dentry, struct miscattr *ma)
> > +{
> > +     struct inode *inode = d_inode(dentry);
> > +     struct dentry *upperdentry;
> > +     const struct cred *old_cred;
> > +     int err;
> > +
> > +     err = ovl_want_write(dentry);
> > +     if (err)
> > +             goto out;
> > +
> > +     err = ovl_copy_up(dentry);
> > +     if (!err) {
> > +             upperdentry = ovl_dentry_upper(dentry);
> > +
> > +             old_cred = ovl_override_creds(inode->i_sb);
> > +             /* err = security_file_ioctl(real.file, cmd, arg); */
>
> Is this an comment intended?

I don't remember, but I guess not.  Will fix and test.

Thanks,
Miklos




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux