aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorColy Li <[email protected]>2009-04-02 16:59:27 -0700
committerLinus Torvalds <[email protected]>2009-04-02 19:05:08 -0700
commitaccb40122040374e97fdf4bb81bdc9316b52c756 (patch)
treea3c1982d61036f361bc720d11a9345dd81f76f0c /net/lapb/lapb_iface.c
parent10c7db279218eda4b19d29ee17db8a815b18d564 (diff)
fs/adfs: return f_fsid for statfs(2)
Currently many file systems in Linux kernel do not return f_fsid in statfs info, the value is set as 0 in vfs layer. Anyway, in some conditions, f_fsid from statfs(2) is useful, especially being used as (f_fsid, ino) pair to uniquely identify a file. Basic idea of the patches is generating a unique fs ID by huge_encode_dev(sb->s_bdev->bd_dev) during file system mounting life time (no endian consistent issue). sb is a point of struct super_block of current mounted file system being accessed by statfs(2). This patch: Make adfs return f_fsid info for statfs(2), and do a little variable renaming in adfs_statfs(). Signed-off-by: Coly Li <[email protected]> Cc: Roman Zippel <[email protected]> Cc: "Sergey S. Kostyliov" <[email protected]> Cc: OGAWA Hirofumi <[email protected]> Cc: Mikulas Patocka <[email protected]> Cc: Dave Kleikamp <[email protected]> Cc: Bob Copeland <[email protected]> Cc: Anders Larsen <[email protected]> Cc: Phillip Lougher <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Evgeniy Dushistov <[email protected]> Cc: Jan Kara <[email protected]> Cc: Andreas Dilger <[email protected]> Cc: Jamie Lokier <[email protected]> Cc: Theodore Ts'o <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions