Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218953
b: refs/heads/master
c: 368c09d
h: refs/heads/master
i:
  218951: 488634b
v: v3
  • Loading branch information
M. Mohan Kumar authored and Eric Van Hensbergen committed Oct 28, 2010
1 parent 25d7660 commit a5dc7e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d769cd192fc8c4097b1e2cd41fdee6ba3d1b2af
refs/heads/master: 368c09d2a303c39e9f37193b23e945e6754cf0a7
2 changes: 0 additions & 2 deletions trunk/fs/9p/v9fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ void v9fs_session_close(struct v9fs_session_info *v9ses);
void v9fs_session_cancel(struct v9fs_session_info *v9ses);
void v9fs_session_begin_cancel(struct v9fs_session_info *v9ses);

#define V9FS_MAGIC 0x01021997

/* other default globals */
#define V9FS_PORT 564
#define V9FS_DEFUSER "nobody"
Expand Down
3 changes: 2 additions & 1 deletion trunk/fs/9p/vfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/statfs.h>
#include <linux/magic.h>
#include <net/9p/9p.h>
#include <net/9p/client.h>

Expand Down Expand Up @@ -256,7 +257,7 @@ static int v9fs_statfs(struct dentry *dentry, struct kstatfs *buf)
if (v9fs_proto_dotl(v9ses)) {
res = p9_client_statfs(fid, &rs);
if (res == 0) {
buf->f_type = rs.type;
buf->f_type = V9FS_MAGIC;
buf->f_bsize = rs.bsize;
buf->f_blocks = rs.blocks;
buf->f_bfree = rs.bfree;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/magic.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@

#define DEVPTS_SUPER_MAGIC 0x1cd1
#define SOCKFS_MAGIC 0x534F434B
#define V9FS_MAGIC 0x01021997

#endif /* __LINUX_MAGIC_H__ */

0 comments on commit a5dc7e5

Please sign in to comment.