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

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

 



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 ?


Details:

FUNCTION: dup_fd
http://lxr.free-electrons.com/source/fs/file.c#L261

LINE : 282 : new_fdt->open_fds = newf->open_fds_init;

files_struct : http://lxr.free-electrons.com/source/include/linux/fdtable.h#L45
unsigned long open_fds_init[1];


Cheers,
Pavi
--
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