export.c (f9cd49033b349b8be3bb1f01b39eed837853d880) export.c (94e07a7590ae855bae0536c42b3086fadc7c83a8)
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * export.c
5 *
6 * Functions to facilitate NFS exporting
7 *
8 * Copyright (C) 2002, 2005 Oracle. All rights reserved.

--- 181 unchanged lines hidden (view full) ---

190#error "You go ahead and fix that mess, then. Somehow"
191 trace_ocfs2_encode_fh_begin(dentry, dentry->d_name.len,
192 dentry->d_name.name,
193 fh, len, connectable);
194#endif
195
196 if (parent && (len < 6)) {
197 *max_len = 6;
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * export.c
5 *
6 * Functions to facilitate NFS exporting
7 *
8 * Copyright (C) 2002, 2005 Oracle. All rights reserved.

--- 181 unchanged lines hidden (view full) ---

190#error "You go ahead and fix that mess, then. Somehow"
191 trace_ocfs2_encode_fh_begin(dentry, dentry->d_name.len,
192 dentry->d_name.name,
193 fh, len, connectable);
194#endif
195
196 if (parent && (len < 6)) {
197 *max_len = 6;
198 type = 255;
198 type = FILEID_INVALID;
199 goto bail;
200 } else if (len < 3) {
201 *max_len = 3;
199 goto bail;
200 } else if (len < 3) {
201 *max_len = 3;
202 type = 255;
202 type = FILEID_INVALID;
203 goto bail;
204 }
205
206 blkno = OCFS2_I(inode)->ip_blkno;
207 generation = inode->i_generation;
208
209 trace_ocfs2_encode_fh_self((unsigned long long)blkno, generation);
210

--- 61 unchanged lines hidden ---
203 goto bail;
204 }
205
206 blkno = OCFS2_I(inode)->ip_blkno;
207 generation = inode->i_generation;
208
209 trace_ocfs2_encode_fh_self((unsigned long long)blkno, generation);
210

--- 61 unchanged lines hidden ---