summaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_dir.c
diff options
context:
space:
mode:
authorSripathi Kodi <sripathik@in.ibm.com>2010-03-25 12:41:54 +0000
committerEric Van Hensbergen <ericvh@gmail.com>2010-05-21 16:44:33 -0500
commit9b6533c9b331ddbba9a40c972d82222ecffbc359 (patch)
tree62d4f5ece3c2cbefc09197b386cac2cd4a6693ae /fs/9p/vfs_dir.c
parentc56e4acf55c804cbeea0ddb696ef698c73d39826 (diff)
downloadlinux-9b6533c9b331ddbba9a40c972d82222ecffbc359.tar.gz
linux-9b6533c9b331ddbba9a40c972d82222ecffbc359.tar.bz2
linux-9b6533c9b331ddbba9a40c972d82222ecffbc359.zip
9p: VFS switches for 9p2000.L: VFS switches
Implements VFS switches for 9p2000.L protocol. Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/vfs_dir.c')
-rw-r--r--fs/9p/vfs_dir.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c
index 0adfd64dfcee..d61e3b28ce37 100644
--- a/fs/9p/vfs_dir.c
+++ b/fs/9p/vfs_dir.c
@@ -203,3 +203,11 @@ const struct file_operations v9fs_dir_operations = {
.open = v9fs_file_open,
.release = v9fs_dir_release,
};
+
+const struct file_operations v9fs_dir_operations_dotl = {
+ .read = generic_read_dir,
+ .llseek = generic_file_llseek,
+ .readdir = v9fs_dir_readdir,
+ .open = v9fs_file_open,
+ .release = v9fs_dir_release,
+};