summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-07-26 11:25:27 -0700
committerSage Weil <sage@newdream.net>2011-07-26 11:25:27 -0700
commit252c6728de604d6a897d85e212996811d5c8c46c (patch)
tree2b93fa141ca38789e00610dfa641dc7fefc3be72 /fs/ceph
parent02f8c6aee8df3cdc935e9bdd4f2d020306035dbe (diff)
downloadop-kernel-dev-252c6728de604d6a897d85e212996811d5c8c46c.zip
op-kernel-dev-252c6728de604d6a897d85e212996811d5c8c46c.tar.gz
ceph: add flags field to file_info
Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/super.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index f5cabef..8febe6f 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -544,7 +544,8 @@ extern void ceph_reservation_status(struct ceph_fs_client *client,
* we keep buffered readdir results attached to file->private_data
*/
struct ceph_file_info {
- int fmode; /* initialized on open */
+ short fmode; /* initialized on open */
+ short flags; /* CEPH_F_* */
/* readdir: position within the dir */
u32 frag;
OpenPOWER on IntegriCloud