Re: Anonymous inode cleanup?

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

 



Thanks a lot!

On Wed, Nov 18, 2015 at 1:24 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Nov 18, 2015 at 01:10:10PM -0800, Rajat Jain wrote:
>> I see reference taken for the path and module in anon_inode_getfile()
>>
>> Don't I need to drop that, or would fput() do it for me?
>>
>>         path_put(&path);
>
>         dput(dentry);
>         mntput(mnt);
> in the very end of __fput()
>
>>         module_put(fops->owner);
>
>         fops_put(file->f_op);
> slightly earlier in the same function.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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