diff options
author | Erez Zadok <ezk@cs.sunysb.edu> | 2009-12-03 21:56:09 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-17 10:58:17 -0500 |
commit | 1b8ab8159ef8f818f870a1d2e3b6953d80eefd3f (patch) | |
tree | 97fdfc87493d5077c4c510e4defedccc483477af /block/blk-sysfs.c | |
parent | 9afa2fb6c13501e5b3536d15344fce4e5442c469 (diff) |
VFS/fsstack: handle 32-bit smp + preempt + large files in fsstack_copy_inode_size
Copy the inode size and blocks from one inode to another correctly on 32-bit
systems with CONFIG_SMP, CONFIG_PREEMPT, or CONFIG_LBDAF. Use proper inode
spinlocks only when i_size/i_blocks cannot fit in one 32-bit word.
Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions