Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82bd9200 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman
Browse files

staging/lustre: Remove unused lli_open_count from struct ll_inode_info



Capabilities code was the only user and it is long gone.

Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2c3856dc
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -134,9 +134,7 @@ struct ll_inode_info {
	struct lu_fid		   lli_pfid;

	struct list_head	      lli_close_list;
	/* open count currently used by capability only, indicate whether
	 * capability needs renewal */
	atomic_t		    lli_open_count;

	unsigned long		      lli_rmtperm_time;

	/* handle is to be sent to MDS later on done_writing and setattr.
+0 −1
Original line number Diff line number Diff line
@@ -797,7 +797,6 @@ void ll_lli_init(struct ll_inode_info *lli)
	/* Do not set lli_fid, it has been initialized already. */
	fid_zero(&lli->lli_pfid);
	INIT_LIST_HEAD(&lli->lli_close_list);
	atomic_set(&lli->lli_open_count, 0);
	lli->lli_rmtperm_time = 0;
	lli->lli_pending_och = NULL;
	lli->lli_mds_read_och = NULL;