Re: Query on freeing of new_fdt->open_fds in file.c

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

 



On Fri, Dec 11, 2015 at 05:21:40PM +0530, pavi1729 wrote:
> Hi,
>    I am unable to understand how
> 
>    new_fdt->open_fds can be freed in __free_fdtable when its an
> unsigned long in files_struct ?

The 'struct fdtable' is either embedded in the files_struct (if there are few
file descriptors) or allocated separately (if there are many file descriptors).
__free_fdtable() is only ever called if the 'struct fdtable' is *not* embedded.
--
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