patch-2.0.35 linux/fs/ext2/fsync.c
Next file: linux/fs/ext2/ialloc.c
Previous file: linux/fs/ext2/dir.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Jul 13 13:47:34 1998
- Orig file:
v2.0.34/linux/fs/ext2/fsync.c
- Orig date:
Sun Nov 26 09:23:10 1995
diff -u --recursive --new-file v2.0.34/linux/fs/ext2/fsync.c linux/fs/ext2/fsync.c
@@ -167,9 +167,6 @@
{
int wait, err = 0;
- if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
- S_ISLNK(inode->i_mode)))
- return -EINVAL;
if (S_ISLNK(inode->i_mode) && !(inode->i_blocks))
/*
* Don't sync fast links!
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov