[PATCH v2 3/3] pstore: drop file opened reference count

2015-11-06 Thread Geliang Tang
In my recent commit, I added '.owner = THIS_MODULE' in both pstore_fs_type and pstore_file_operations to increase a reference count when pstore filesystem is mounted and pstore file is opened.[1] But, it's repetitive. There is no need to increase the opened reference count. We only need to

[PATCH v2 3/3] pstore: drop file opened reference count

2015-11-06 Thread Geliang Tang
In my recent commit, I added '.owner = THIS_MODULE' in both pstore_fs_type and pstore_file_operations to increase a reference count when pstore filesystem is mounted and pstore file is opened.[1] But, it's repetitive. There is no need to increase the opened reference count. We only need to