lkml.org 
[lkml]   [1999]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjecti_blocksize, long long i_size and conversion size to blocks
Hi,
I just downloaded 2.3.26-pre2 - and surprise, ncpfs does not compile.
It happens because of there is
inode->i_blocks = (inode->i_size - 1) / inode->i_blksize + 1;
Should I introduce i_blksize_shift into private portion of inode and
maintain i_blksize only for other kernel parts (stat syscall) or what
is correct action?
I can hardcode shift value into code because of block size on ncpfs
is always 512 bytes, but I just want to know...
Thanks,
Petr Vandrovec
vandrove@vc.cvut.cz

P.S.: I'm not subscribed to linux-fsdevel (yet), so please CC me if you
are replying on fsdevel only.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.047 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site