mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
ufs_inode_getfrag(): remove junk comment
It used to be a stubbed out beginning of ufs2 support, which had been implemented differently quite a while ago. Remove the commented-out (pseudo-)code. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
426f07ad3e
commit
ae79ce9d06
@ -264,11 +264,6 @@ ufs_inode_getfrag(struct inode *inode, unsigned index,
|
||||
unsigned nfrags = uspi->s_fpb;
|
||||
void *p;
|
||||
|
||||
/* TODO : to be done for write support
|
||||
if ( (flags & UFS_TYPE_MASK) == UFS_TYPE_UFS2)
|
||||
goto ufs2;
|
||||
*/
|
||||
|
||||
p = ufs_get_direct_data_ptr(uspi, ufsi, index);
|
||||
tmp = ufs_data_ptr_to_cpu(sb, p);
|
||||
if (tmp)
|
||||
@ -303,21 +298,6 @@ ufs_inode_getfrag(struct inode *inode, unsigned index,
|
||||
mark_inode_dirty(inode);
|
||||
out:
|
||||
return tmp + uspi->s_sbbase;
|
||||
|
||||
/* This part : To be implemented ....
|
||||
Required only for writing, not required for READ-ONLY.
|
||||
ufs2:
|
||||
|
||||
u2_block = ufs_fragstoblks(fragment);
|
||||
u2_blockoff = ufs_fragnum(fragment);
|
||||
p = ufsi->i_u1.u2_i_data + block;
|
||||
goal = 0;
|
||||
|
||||
repeat2:
|
||||
tmp = fs32_to_cpu(sb, *p);
|
||||
lastfrag = ufsi->i_lastfrag;
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user