Skip to content
Commit 1b8ab815 authored by Erez Zadok's avatar Erez Zadok Committed by Al Viro
Browse files

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: default avatarHugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: default avatarErez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9afa2fb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment