diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-25 15:39:03 +0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-25 15:46:43 +0400 |
commit | 6cda9fa2575ec0869fe77b0bdf295c0e51868cab (patch) | |
tree | 09f160f79f2ab135cd0c9ce0a2099d96423e5e00 /mm/percpu-km.c | |
parent | c28e69d9332aab739920082a0a5677d861390824 (diff) | |
download | linux-6cda9fa2575ec0869fe77b0bdf295c0e51868cab.tar.xz |
nilfs2: avoid rec_len overflow with 64KB block size
With 64KB blocksize, a directory entry can have size 64KB which does
not fit into 16 bits we have for entry length. So this patch stores
0xffff instead and converts value when read from / written to disk.
Nilfs derives its directory implementation from ext2 filesystem, and
this draws upon the corresponding change on ext2.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'mm/percpu-km.c')
0 files changed, 0 insertions, 0 deletions