From: Erez Zadok Date: Fri, 4 Dec 2009 02:56:09 +0000 (-0500) Subject: VFS/fsstack: handle 32-bit smp + preempt + large files in fsstack_copy_inode_size X-Git-Tag: v2.6.33-rc1~34^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b8ab8159ef8f818f870a1d2e3b6953d80eefd3f;p=pandora-kernel.git 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 Signed-off-by: Erez Zadok Signed-off-by: Al Viro --- Reading git-diff-tree failed