Re: fs_stack/eCryptfs: remove 3rd arg of copy_attr_all, addlocking to copy_inode_size

From: Josef 'Jeff' Sipek
Date: Thu Apr 03 2008 - 14:20:27 EST


On Wed, Apr 02, 2008 at 09:49:11PM -0400, Erez Zadok wrote:
...
> +#if BITS_PER_LONG == 32 && defined(CONFIG_SMP)
> + spin_lock(&dst->i_lock);
> +#endif

I think you need to check CONFIG_PREEMPT as well.

Josef 'Jeff' Sipek.

--
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all progress
depends on the unreasonable man.
- George Bernard Shaw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/