ceph: add flags field to file_info
authorSage Weil <sage@newdream.net>
Tue, 26 Jul 2011 18:25:27 +0000 (11:25 -0700)
committerSage Weil <sage@newdream.net>
Tue, 26 Jul 2011 18:25:27 +0000 (11:25 -0700)
Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.h

index f5cabefa98dc03cee37b12e8c961a4f208e970a4..8febe6fce2b1f715f094da8c8db7c764a0880ea5 100644 (file)
@@ -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;