linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* dentry Hash Method
@ 2013-11-03  7:47 Zachary
  2013-11-04  0:51 ` Jaegeuk Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Zachary @ 2013-11-03  7:47 UTC (permalink / raw)
  To: linux-f2fs-devel


[-- Attachment #1.1: Type: text/plain, Size: 331 bytes --]

Hello,

I was looking at the source code for f2fs with regard to how dentries are
created and I have a question about how the __le32 hash_code is
calculated.  If I have a file like /etc/fstab, would the hash be
f2fs_dentry_hash("/etc/fstab", 10) or f2fs_dentry_hash("fstab", 5) or
something completely different?

Thank you,

Zach

[-- Attachment #1.2: Type: text/html, Size: 397 bytes --]

[-- Attachment #2: Type: text/plain, Size: 402 bytes --]

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk

[-- Attachment #3: Type: text/plain, Size: 179 bytes --]

_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dentry Hash Method
  2013-11-03  7:47 dentry Hash Method Zachary
@ 2013-11-04  0:51 ` Jaegeuk Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Jaegeuk Kim @ 2013-11-04  0:51 UTC (permalink / raw)
  To: Zachary; +Cc: linux-f2fs-devel

Hi,

2013-11-03 (일), 02:47 -0500, Zachary:
> Hello,
> 
> I was looking at the source code for f2fs with regard to how dentries
> are created and I have a question about how the __le32 hash_code is
> calculated.  If I have a file like /etc/fstab, would the hash be
> f2fs_dentry_hash("/etc/fstab", 10) or f2fs_dentry_hash("fstab", 5) or
> something completely different?

The hash will be made by f2fs_dentry_hash("fstab", 5).
Thanks, :)

-- 
Jaegeuk Kim
Samsung


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-04  0:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-03  7:47 dentry Hash Method Zachary
2013-11-04  0:51 ` Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).