aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/fat.h
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2013-04-29 19:21:11 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 21:28:40 -0400
commitea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 (patch)
treeebd063193dcbbddaccd10e62894d477f9e203ac3 /fs/fat/fat.h
parente22a444275d1e7c80db5d8bec08fb8d0d79617ad (diff)
fat: restructure export_operations
Define two nfs export_operation structures,one for 'stale_rw' mounts and the other for 'nostale_ro'. The latter uses i_pos as a basis for encoding and decoding file handles. Also, assign i_pos to kstat->ino. The logic for rebuilding the inode is added in the subsequent patches. Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Ravishankar N <ravi.n1@samsung.com> Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r--fs/fat/fat.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index 980c0346c168..c517fc066cf7 100644
--- a/fs/fat/fat.h
+++ b/fs/fat/fat.h
@@ -406,12 +406,8 @@ int fat_cache_init(void);
406void fat_cache_destroy(void); 406void fat_cache_destroy(void);
407 407
408/* fat/nfs.c */ 408/* fat/nfs.c */
409struct fid; 409extern const struct export_operations fat_export_ops;
410extern struct dentry *fat_fh_to_dentry(struct super_block *sb, struct fid *fid, 410extern const struct export_operations fat_export_ops_nostale;
411 int fh_len, int fh_type);
412extern struct dentry *fat_fh_to_parent(struct super_block *sb, struct fid *fid,
413 int fh_len, int fh_type);
414extern struct dentry *fat_get_parent(struct dentry *child_dir);
415 411
416/* helper for printk */ 412/* helper for printk */
417typedef unsigned long long llu; 413typedef unsigned long long llu;