login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
1
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_* updates
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Erez Zadok <ezk@...>
Cc: <ezk@...>, <linux-fsdevel@...>, <linux-kernel@...>, <viro@...>, <hch@...>, <mhalcrow@...>, <hugh@...>
Subject:
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_* updates
Date: Thursday, May 1, 2008 - 3:21 pm
On Thu, 1 May 2008 13:18:09 -0400 Erez Zadok <ezk@cs.sunysb.edu> wrote:
quoted text
> In message <20080430101704.9cbd6384.akpm@linux-foundation.org>, Andrew Morton writes: > [...[ > > Can we avoid having to think? > > > > void fsstack_copy_inode_size(struct inode *dst, const struct inode *src) > > { > > blkcnt_t i_blocks; > > loff_t i_size; > > > > i_size = i_size_read(src); > > spin_lock_32bit(&src->i_lock); > > i_blocks = src->i_blocks; > > spin_unlock_32bit(&src->i_lock); > > > > i_size_write(dst, i_size); > > spin_lock_32bit(&dst->i_lock) > > dst->i_blocks = i_blocks; > > spin_unlock_32bit(&dst->i_lock) > > } > > I can't find spin_[um]lock_32bit anywhere (checkd latest mmotm and linus's > tree). I therefore assume this was just your way of saying I should: > > #if BITS_PER_LONG == 32 > spin_unlock(&dst->i_lock); > #endif
Nope, it was my way of suggesting that you implement it ;) include/linux/spinlock.h would be a good place. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_* up...
, Erez Zadok
, (Mon Apr 21, 2:50 am)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Andrew Morton
, (Wed Apr 30, 1:17 pm)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Hugh Dickins
, (Fri May 2, 9:17 am)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Erez Zadok
, (Thu May 1, 1:18 pm)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Andrew Morton
, (Thu May 1, 3:21 pm)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Erez Zadok
, (Thu May 1, 7:44 pm)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Andrew Morton
, (Thu May 1, 8:08 pm)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Erez Zadok
, (Fri May 2, 1:58 am)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
,
, (Sun May 11, 8:44 pm)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Andrew Morton
, (Fri May 2, 2:11 am)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Erez Zadok
, (Wed Apr 30, 5:09 pm)
Re: [2.6.26 PATCH, RESEND]: fs_stack/eCryptfs: fsstack_copy_...
, Andrew Morton
, (Wed Apr 30, 5:25 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michal Piotrowski
Re: 2.6.23-rc3-mm1
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Fred Tyler
Slow, persistent memory leak in 2.6.20
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Antonio Almeida
HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
522 guests
online.
Online users
usuwanieznamion
Syndicate