Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_* updates

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Thursday, May 1, 2008 - 11:11 pm

On Fri, 2 May 2008 01:58:05 -0400 Erez Zadok <ezk@cs.sunysb.edu> wrote:


We actually only need the spinlocked version if blkcnt_t is 64-bit.

So #if BITS_PER_LONG == 32 && defined(CONFIG_LSF), plus explanatory comment.

The spinlocked version will be too large for inlining, I expect.


You'll also need i_blocks_mod() for things like

fs/hpfs/dnode.c:        i->i_blocks += 4;



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_cop ..., Andrew Morton, (Thu May 1, 11:11 pm)