patch-pre2.0.5 linux/include/linux/fs.h

Next file: linux/include/linux/iso_fs.h
Previous file: linux/include/linux/cm206.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -272,7 +272,7 @@
 	uid_t		i_uid;
 	gid_t		i_gid;
 	kdev_t		i_rdev;
-	off_t		i_size;
+	unsigned long	i_size;
 	time_t		i_atime;
 	time_t		i_mtime;
 	time_t		i_ctime;
@@ -359,12 +359,10 @@
 #define FLOCK_VERIFY_READ  1
 #define FLOCK_VERIFY_WRITE 2
 
-#ifdef CONFIG_LOCK_MANDATORY	 
 extern int locks_mandatory_locked(struct inode *inode);
 extern int locks_mandatory_area(int read_write, struct inode *inode,
 				struct file *filp, unsigned int offset,
 				unsigned int count);
-#endif
 
 extern inline int locks_verify_locked(struct inode *inode)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this