patch-2.3.48 linux/fs/nfsd/nfsfh.c

Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/fs/nfsd/nfsfh.c linux/fs/nfsd/nfsfh.c
@@ -76,7 +76,7 @@
 	if (!dir || !S_ISDIR(dir->i_mode))
 		goto out;
 	error = -EINVAL;
-	if (!dir->i_op || !dir->i_op->default_file_ops)
+	if (!dir->i_fop)
 		goto out;
 	/*
 	 * Open the directory ...

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)