diff options
Diffstat (limited to 'fs/efs/dir.c')
-rw-r--r-- | fs/efs/dir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/efs/dir.c b/fs/efs/dir.c index ac64b8aeb..9bba7a2cb 100644 --- a/fs/efs/dir.c +++ b/fs/efs/dir.c @@ -28,9 +28,6 @@ static int efs_readdir(struct file *filp, void *dirent, filldir_t filldir) { int slot, namelen; char *nameptr; - if (!inode || !S_ISDIR(inode->i_mode)) - return -EBADF; - if (inode->i_size & (EFS_DIRBSIZE-1)) printk(KERN_WARNING "EFS: WARNING: readdir(): directory size not a multiple of EFS_DIRBSIZE\n"); |