Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1413837
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Salah Triki <salah.triki@acm.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] fs: befs: Increment i_count when inode is found |
| Date | Sat, 04 Jun 2016 21:00:01 +0200 |
| Message-ID | <rGoXD-4Gb-5@gated-at.bofh.it> (permalink) |
| References | <rGoXD-4Gb-1@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=vlywWxQ+WS5Y20tTd9Ev5mEjtK1zQ/NybRFUEryV1og=; b=vNA2LJD0bAyTCZ/6EpUJTeOG+oqBRvsU+xldLpWDElBk0ZtCNavEweZ0Pz6mIMkus/ BkBa8m4C6OVuyZ8gtc4RkQDMfmf7qV3TaRZ+fGZpdSP1S0ApDdTkwlrlbR3eceH7Klmd m2766XBS5x4E9up+XJD9uxDfndul8Bv3n72jOrv1eHHwSpUs7iiimDLF9LRJE/TAxGOR Oun14CwfA+3vt8pJzjb0gWDXHTp6o8iGqIt0DzhrXdicUWCDvCsplANdenAMmUQ8fm6x KAYl2gkrc7P2D3yZqTLHqmXP0yjDg+Cy0P/1v7zX0sUXQbmypWoeHcXYRyROaGTGZ1rT McnA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=vlywWxQ+WS5Y20tTd9Ev5mEjtK1zQ/NybRFUEryV1og=; b=kht+WuAYSup2oN6wcCzlPYPiysYvEvPhdP9PYiKa9+gpEzxn3J4k9D+yo8vwAEraVq XEQVCuVzBY3iOiIH6Y6jR8PUS2S9O8lgweKDxA7jL8wSRMvF4ZVPkEh8NHDF5h3wdKZw 2rpfkIDsQAEVTaLGzjSMbUg6u7UQnrPJSeJXZw/KMZy/VtIL5RMFpina1JPZl8QoAjrl fyqIU0Z1Eal8U0024nfvXQTcKWkl8+EdOtLxxvYgzWlwsqdURgJQhpmUpMxXmUoDpkwu eCMmQjERSjTQk0iIdNIHpWf8A8avq8ZyaNZ/FbrC/FJHW/WSWf8INn8TFlOvlqovJ5qa lmVw== |
| X-Gm-Message-State | ALyK8tIQ0XMofHNh9rC1jgTGgVHTUiK6t54H3C0N4Fqv6wDeadqfiAZTPHGakgTXiEe1pQ== |
| X-Received | by 10.28.44.70 with SMTP id s67mr5045455wms.14.1465066424715; Sat, 04 Jun 2016 11:53:44 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 22 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Salah Triki <salah.triki@acm.org>, linux-kernel@vger.kernel.org |
| X-Original-Date | Sat, 4 Jun 2016 19:53:21 +0100 |
| X-Original-Message-ID | <e0e40c9bc375fe5f90dcb92e1884352840780a07.1465065995.git.salah.triki@acm.org> |
| X-Original-References | <e675d6c7c8645d37070610993e400239dba22680.1465065995.git.salah.triki@acm.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1413837 |
Show key headers only | View raw
As VFS expects, i_count field is incremented when the named inode is found. Signed-off-by: Salah Triki <salah.triki@acm.org> --- fs/befs/linuxvfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 91740dd..05153b3 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -198,6 +198,8 @@ befs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) d_add(dentry, inode); + inode->i_count++; + befs_debug(sb, "<--- %s", __func__); return NULL; -- 1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] fs: befs: Lookup must return error code only on real error Salah Triki <salah.triki@acm.org> - 2016-06-04 21:00 +0200
[PATCH 3/3] fs: befs: Increment i_count when inode is found Salah Triki <salah.triki@acm.org> - 2016-06-04 21:00 +0200
Re: [PATCH 3/3] fs: befs: Increment i_count when inode is found kbuild test robot <lkp@intel.com> - 2016-06-04 21:20 +0200
Re: [PATCH 3/3] fs: befs: Increment i_count when inode is found Al Viro <viro@ZenIV.linux.org.uk> - 2016-06-04 21:40 +0200
Re: [PATCH 3/3] fs: befs: Increment i_count when inode is found Salah Triki <salah.triki@acm.org> - 2016-06-04 22:10 +0200
[PATCH 2/3] fs: befs: Insert NULL inode to dentry Salah Triki <salah.triki@acm.org> - 2016-06-04 21:00 +0200
Re: [PATCH 1/3] fs: befs: Lookup must return error code only on real error Al Viro <viro@ZenIV.linux.org.uk> - 2016-06-04 21:40 +0200
csiph-web