Procházet zdrojové kódy

ceph: add flags field to file_info

Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil před 14 roky
rodič
revize
252c6728de
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      fs/ceph/super.h

+ 2 - 1
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;