diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-01-27 20:14:36 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-10-18 17:35:31 -0400 |
commit | ae79ce9d061bc6cee3b136813b26dd0c735e682d (patch) | |
tree | 1491ba1bdd826a3755bbe79169df49578a794d02 | |
parent | 426f07ad3e2c9b51bfd93b870a3a9b04644130d0 (diff) |
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>
-rw-r--r-- | fs/ufs/inode.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index 5331ae7ebf3e..71d28561200f 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c @@ -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; - - */ } /** |