From: Stephen Hemminger <shemminger@vyatta.com>
To: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
Cc: linux-rt-users@vger.kernel.org
Subject: unionfs on RT
Date: Fri, 7 Nov 2008 13:47:35 -0800 [thread overview]
Message-ID: <20081107134735.639c8c5d@extreme> (raw)
In-Reply-To: <1226092963.5685.14.camel@dd>
commit 192308315fdc06659a43d5011d9be76eb2520579
Author: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Fri Oct 31 14:17:17 2008 -0700
Fix unionfs on RT
RT changes inode stucture slightly.
diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index 5fa4253..6f384e7 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -92,7 +92,7 @@ static void unionfs_delete_inode(struct inode *inode)
spin_unlock(&inode->i_lock);
#endif
- if (inode->i_data.nrpages)
+ if (mapping_nrpages(&inode->i_data))
truncate_inode_pages(&inode->i_data, 0);
clear_inode(inode);
next prev parent reply other threads:[~2008-11-07 21:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-05 19:52 Network performance forwarding tests on RT Stephen Hemminger
2008-11-07 0:50 ` Clark Williams
[not found] ` <ccb913ac0811062303r7f94f8a8lfe48336d6dafb9f6@mail.gmail.com>
2008-11-07 16:52 ` Stephen Hemminger
[not found] ` <ccb913ac0811110537u20a05682x9f60bc69b42d943a@mail.gmail.com>
2008-11-11 14:13 ` Clark Williams
2008-11-12 21:20 ` Leon Woestenberg
2008-11-07 21:22 ` Sven-Thorsten Dietrich
2008-11-07 21:22 ` Sven-Thorsten Dietrich
2008-11-07 21:47 ` Stephen Hemminger [this message]
2008-11-07 21:48 ` aufs: built it " Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081107134735.639c8c5d@extreme \
--to=shemminger@vyatta.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=sven@thebigcorporation.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.