diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-25 10:46:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 19:53:30 +0200 |
commit | fb523f32275344282f20ef3352cbf03e599241e6 (patch) | |
tree | a21bc5f9e196d0ec786582e1a96b3dc5aafcf6b0 /fs/minix/inode.c | |
parent | gpio: max732x driver (diff) | |
download | linux-fb523f32275344282f20ef3352cbf03e599241e6.tar.xz linux-fb523f32275344282f20ef3352cbf03e599241e6.zip |
minix: remove !NO_TRUNCATE code
This patch removes the !NO_TRUNCATE code that anyway required a manual
editing of the code for being used.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/minix/inode.c')
-rw-r--r-- | fs/minix/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 84f6242ba6fc..523d73713418 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c @@ -256,9 +256,6 @@ static int minix_fill_super(struct super_block *s, void *data, int silent) if (!s->s_root) goto out_iput; - if (!NO_TRUNCATE) - s->s_root->d_op = &minix_dentry_operations; - if (!(s->s_flags & MS_RDONLY)) { if (sbi->s_version != MINIX_V3) /* s_state is now out from V3 sb */ ms->s_state &= ~MINIX_VALID_FS; |