patch-2.1.103 linux/fs/ext2/fsync.c
Next file: linux/fs/fat/fatfs_syms.c
Previous file: linux/fs/ext2/dir.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed May 20 13:09:12 1998
- Orig file:
v2.1.102/linux/fs/ext2/fsync.c
- Orig date:
Wed Dec 10 13:13:30 1997
diff -u --recursive --new-file v2.1.102/linux/fs/ext2/fsync.c linux/fs/ext2/fsync.c
@@ -260,9 +260,6 @@
int wait, err = 0;
struct inode *inode = dentry->d_inode;
- 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