aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <smfrench@austin.rr.com>2005-04-29 01:41:07 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 01:41:07 -0400
commitf28ac91b0541a49d5bc7bfb9f0efd5289a7dd181 (patch)
tree65b4b2d1f2cef8d7db8a3c907748e1e959bbf1af /fs/cifs/cifsfs.c
parent848f3fce45d2ba93e10b5e9d65bcae0d9269ad0d (diff)
[PATCH] cifs: CIFS ioctl needed by umount.cifs utility
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 3d5365b9f5ba..461a706b237b 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -190,6 +190,7 @@ cifs_statfs(struct super_block *sb, struct kstatfs *buf)
190 190
191#ifdef CONFIG_CIFS_EXPERIMENTAL 191#ifdef CONFIG_CIFS_EXPERIMENTAL
192/* BB we could add a second check for a QFS Unix capability bit */ 192/* BB we could add a second check for a QFS Unix capability bit */
193/* BB FIXME check CIFS_POSIX_EXTENSIONS Unix cap first FIXME BB */
193 if (pTcon->ses->capabilities & CAP_UNIX) 194 if (pTcon->ses->capabilities & CAP_UNIX)
194 rc = CIFSSMBQFSPosixInfo(xid, pTcon, buf); 195 rc = CIFSSMBQFSPosixInfo(xid, pTcon, buf);
195 196
@@ -599,6 +600,9 @@ struct file_operations cifs_dir_ops = {
599#ifdef CONFIG_CIFS_EXPERIMENTAL 600#ifdef CONFIG_CIFS_EXPERIMENTAL
600 .dir_notify = cifs_dir_notify, 601 .dir_notify = cifs_dir_notify,
601#endif /* CONFIG_CIFS_EXPERIMENTAL */ 602#endif /* CONFIG_CIFS_EXPERIMENTAL */
603#ifdef CONFIG_CIFS_POSIX
604 .ioctl = cifs_ioctl,
605#endif /* CONFIG_CIFS_POSIX */
602}; 606};
603 607
604static void 608static void