Coly Li 837711f862 ocfs2: return f_fsid info in ocfs2_statfs()
Currently the f_fsid of struct kstatfs returned from ocfs2_statfs() is
undefined (vfs layer fills in 0 as default). Since in some conditions,
f_fsid value might be used in a (f_fsid, ino) pair to uniquely identify
a file, ocfs2 should return a unique defined f_fsid value from
ocfs2_statfs().

Because uuid_str is the same on big or litlle endian machine, it's
endian consistent to use osb->uuid_str to generate f_fsid value.

Signed-off-by: Coly Li <coly.li@suse.de>
Cc: Sunil Mushran <sunil.mushran@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2009-10-29 15:02:20 -07:00
..
2009-03-31 23:00:26 -04:00
2009-01-05 08:34:20 -08:00
2009-09-22 20:09:36 -07:00
2009-09-22 20:09:36 -07:00
2009-07-21 15:47:55 -07:00
2009-04-03 11:39:16 -07:00
2009-09-23 01:54:47 -07:00
2009-04-21 16:31:20 -07:00
2009-09-22 20:09:37 -07:00
2009-01-22 13:15:54 +03:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2009-09-22 20:09:26 -07:00
2009-09-27 11:39:25 -07:00
2009-09-22 20:09:51 -07:00
2009-09-22 20:09:51 -07:00
2009-09-23 18:13:10 -07:00
2009-09-22 20:09:49 -07:00
2009-09-22 20:09:49 -07:00