login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
14
Re: [PATCH] ecryptfs: set s_blocksize from lower fs in sb
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Michael Halcrow
Subject:
Re: [PATCH] ecryptfs: set s_blocksize from lower fs in sb
Date: Friday, December 14, 2007 - 8:43 am
On Fri, Dec 14, 2007 at 09:30:26AM -0600, Eric Sandeen wrote:
quoted text
> eCryptfs wasn't setting s_blocksize in it's superblock; just pick > it up from the lower FS. Having an s_blocksize of 0 made things > like "filefrag" which call FIGETBSZ unhappy. > > Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Mike Halcrow <mhalcrow@us.ibm.com>
quoted text
> > --- > > Index: linux-2.6.24-rc3/fs/ecryptfs/main.c > =================================================================== > --- linux-2.6.24-rc3.orig/fs/ecryptfs/main.c > +++ linux-2.6.24-rc3/fs/ecryptfs/main.c > @@ -523,6 +523,7 @@ static int ecryptfs_read_super(struct su > lower_mnt = nd.mnt; > ecryptfs_set_superblock_lower(sb, lower_root->d_sb); > sb->s_maxbytes = lower_root->d_sb->s_maxbytes; > + sb->s_blocksize = lower_root->d_sb->s_blocksize; > ecryptfs_set_dentry_lower(sb->s_root, lower_root); > ecryptfs_set_dentry_lower_mnt(sb->s_root, lower_mnt); > rc = ecryptfs_interpose(lower_root, sb->s_root, sb, 0); >
--
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:
[PATCH] ecryptfs: set s_blocksize from lower fs in sb
, Eric Sandeen
, (Fri Dec 14, 8:30 am)
Re: [PATCH] ecryptfs: set s_blocksize from lower fs in sb
, Michael Halcrow
, (Fri Dec 14, 8:43 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
<