ecryptfs: set s_blocksize from lower fs in sb
commit7c9e70efbfc3186674d93451e0fbf18365347b4d
authorEric Sandeen <sandeen@redhat.com>
Tue, 18 Dec 2007 00:20:07 +0000 (17 16:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 18 Dec 2007 03:28:17 +0000 (17 19:28 -0800)
tree63deb2cbabd29614cbafde2224ea1b81a33862f0
parent81eabcbe0b991ddef5216f30ae91c4b226d54b6d
ecryptfs: set s_blocksize from lower fs in sb

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/main.c